3

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.

Shayki Abramczyk
  • 36,824
  • 16
  • 89
  • 114
humblebee
  • 1,044
  • 11
  • 25

4 Answers4

5

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

Shayki Abramczyk
  • 36,824
  • 16
  • 89
  • 114
  • 1
    Problem with this answer is that you put taskgroup1 as the name of the Taskgroup and this causes people to put taskgr in all cases. Please update with a different name for the TaskGroup, for example Mycar.Frontendapp instead of TaskGroup1 in your example. – SijuMathew Feb 22 '21 at 09:52
  • For me, the newly added task group didn't appear in the Add tasks window instantly. It was not coming in search results either. After a few minutes it started to appear. It could be a browser cache issue. So the possible options are 1. Restart your browser if that helps clearing the cache when you start the next browser session OR 2. Start your browser in incognito mode as it'll not consider past user sessions OR 3. Wait for a while (~ 5 mins) and then try again to search. – RBT Oct 08 '21 at 08:24
0

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 :)

BramCoding
  • 395
  • 2
  • 11
0

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.

SijuMathew
  • 342
  • 3
  • 12
0

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: enter image description here

alex
  • 187
  • 1
  • 9