Douglas Korinke
Douglas Korinke

Reputation: 399

Child work types inheriting field values from parent item

I am working through creating a custom process in Azure DevOps and was curious if field values from parent can be shared with child items.

Here is an example:

  1. Create field 'Custom Field 9' on Epic work type
  2. Create the same field 'Custom Field 9' on Product Backlog Item work type
  3. Create an epic and fill in the value of 'Custom Field 9'
  4. Create a child Product Backlog Item, 'Custom Field 9' is then inherited to the backlog items field.

What I've tried so far is to use a rule on either Epic or Product Backlog Item, however, I do not believe the rules can apply to creation of children processes.

One other option I'm going to try later today is a Flow that detects when a child work item is created and perform it automatically. I'd like to try to keep this contained to Azure DevOps if possible.

Edit: Thought it helpful to mention that we are using the hosted solution of DevOps and nothing on premise.

Upvotes: 3

Views: 8569

Answers (2)

Matt Jones
Matt Jones

Reputation: 106

I needed this feature as well, but in it's absence I have got it to work (relatively easily) with an Azure Logic App (for anyone also using Azure)

​Trigger

When a work item is created

Then

​Get work item details using "Parent" as the work item ID to search for

​Finally

​Update the new work item with any field from the parent you require

enter image description here ​ ​

Upvotes: 4

Mengdi Liang
Mengdi Liang

Reputation: 18958

Sorry to say that as default, there does not such a work item features with "out of the box". But you can use another tool to achieve this.

Like you said, Microsoft Flow, there does not such feature supported while connect with Azure Devops.

But, in addiiton, I think you can do this with writing some custom scripts. And then configure Web hook to trigger this custom events.

Also, here has another tool named TFS Aggregator (Web Service) to achieve what you want. You can set and configure apply certain rules (such as copying fields from a parent item to a child item). And it will trigger after a work item is created or saved.

I know this is very inconvenient, here has an same feature suggest which raised by others. They has the same demand with you. You can vote and comment for this suggestion. When there are enough communities vote and add comments for this feedback, the product team member will take this feedback seriously.

enter image description here

Upvotes: 4

Related Questions