Janni Kajbrink
Janni Kajbrink

Reputation: 711

Create task automatically when creating bug in Azure Devops Server

We are using Azure Devops Server. When a bug is created, I would like to create a child task automatically. The task does not need to have any particular properties, it just need to be created with default values and have a default name like "Placeholder" or something like that.

I have already encountered some different ways of doing it, but neither of them seems to be well suited for me:

Is there a simpler solution to achieve my gool or do I need to stick with one of the solutions above?

Upvotes: 2

Views: 4443

Answers (1)

Hugh Lin
Hugh Lin

Reputation: 19371

As a workaround , we can set Azure Logic App, select When a work item is created"as trigger, and then select Create a work item as action.

enter image description here

enter image description here

Make sure to set the Link URL to the “When a work item is created” URL and set the Link Type to Hierarchy-reverse to create the Task as a child of the Bug item. Please refer to the settings below:

enter image description here

enter image description here

Save the Logic Apps Designer, and then when the bug item is created, the child task named Placeholder will be automatically created.

Upvotes: 2

Related Questions