Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to display parent attribute value into Child workitem when creating Child workitem

Hi Team
Regarding Parent - Child relationship

I have one Parent Called A and Child WI called B and i have custom attribute called Parent ID and manually entering the Parent ID and saving the WI. However we have ID which is generated by RTC system.
We are using custom attribute to keep track Parent ID in their Child WI types

When i create Child WI from Parent WI  and it should copy or display the ParentID <Value> in Child WI and save.  By doing this we can keep track of  Child WI with respect to its Parent

Is it possible to display or copy Parent WI to Child WI while New Child WI creation?

Thanks in advance
MRP

0 votes


Accepted answer

Permanent link
Actually there is no need to have the custom attributes.
The RTC work items have the link that can be shown in the Quick information as well as in the links tab.
If you are adding the custom attribute to be able to access the parent child information problematically or for accessing through the reports, both the use case are covered. There are API through which all the links of a work item can be accessed. And for Reports the ETLs already expose the links.

Apart from these if you have any other use case we can help you with that as well.
mrp singer selected this answer as the correct answer

0 votes

Comments

Hi Aradhya Thank for your comments. I just want to copy one Custom Attribute value From Parent to Child WI. Example: I have Parent A and having TEST ID: ( user will enter ID in parent) and while creating Child WI and this TEST ID should copy there before saving or after savng.. So that i can keep track of this. Is this possible?


One other answer

Permanent link
You can do so through the code. This is is defined in  https://jazz.net/library/article/1000.
You have to come up with a precondition or adviser where you can update the work item to be saved. For example if the work item has a parent link then copy some of its attribute values ...

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Sep 02 '12, 1:41 a.m.

Question was seen: 5,555 times

Last updated: Sep 03 '12, 7:10 a.m.

Confirmation Cancel Confirm