humblebee
humblebee

Reputation: 1404

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.

Upvotes: 5

Views: 9412

Answers (4)

alex
alex

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

Upvotes: 2

Shayki Abramczyk
Shayki Abramczyk

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:

enter image description here

Upvotes: 9

SijuMathew
SijuMathew

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

BramCoding
BramCoding

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

Related Questions