Reputation: 1404
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.
Upvotes: 5
Views: 9412
Reputation: 335
In case someone else will have this issue and will come to this thread: even after import and save new task group may not appear under Add task section. In this case try to click Refresh link on the top - it should fetch all changes and update the cached tasks list:
Upvotes: 2
Reputation: 41595
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:
Upvotes: 9
Reputation: 362
You need to search for the name of the Task group in the search box while adding a new task and not "task group".
If you created/imported a task group with name MyCar.FrontendApp, then in the search box for add a new task put "FrontendApp" and add that task.
Upvotes: 0
Reputation: 395
I had the same issue and could not find my Task Groups. What fixed it was:
Under Pipelines, go to Task Groups. There you have an Import button where you can import the json Task Group file. When this is done, the Task Group became selectable when wanting to add a new Task.
Hope this helps :)
Upvotes: 0