I have Product backlog item, I am able to see templates from Azure Board UI. I want to use Azure CLI commands to add templates to the product backlog item. I have query to create Backlog which is working fine but I am not getting how to add templates available to the backlog.
I'm afraid there is no such Azure CLI command to add templates to workitems. If you would like that feature, please create a request for this feature here.