azureazure-devopsazure-pipelinesazure-task-groups

How to import task groups in Azure DevOps


I have multiple release pipelines using similar set of tasks. I have created a task group as explained in Task Groups. I want to reuse this task group in other release pipelines.

I cannot find any task/menu item in Azure DevOps to do so. Documentation in Task Groups mentions exporting the release pipeline as json but the import section is not quite illustrative.


Solution

  • If you created a task group and you want to use it in another releases, just click on the + to add a task and in the search field start to type the task group name (for example TaskGroup1), then choose it:

    enter image description here