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

How do I make a child WI have a value that is inherited from a parent WI as read only?

 Basically, I have a parent work item and a child work item.
I would like to have the child work item pull in a value (ex. a build number) from the parent and have that read only in the child.

How would I configure this?

0 votes


Accepted answer

Permanent link
this cannot be 'configured', you would have to write a server side extension to do it.

as links cannot be manipulated with JavaScript, you will have to write a java Participant extension.
see https://jazz.net/library/article/1000

Daniel Ruebush selected this answer as the correct answer

0 votes

Comments

But I don't really need to modify any links I just want to create a child work item and have that data be automatically populated in the child. Would that be some sort of dependent variable? 

see more data in answer


One other answer

Permanent link
you can't USE (manipulate) the link in Javascript  to find the parent is the problem
there are no builtin functions to copy data from related workitems
see https://jazz.net/library/article/1093
workbook,
https://jazz.net/library/content/articles/clm/2012/process-enactment-workshop/workbook/pew-lab-workbook.pdf
lab5
"It is not possible to access the relationships of a work item, especially to other work items from the links
tab. It is possible to access work item attributes of type work item. This will return the work item handle
but will currently not allow to resolve the referenced work item."

1 vote

Comments
Then what is use of the feature allowing attributes from others WI types?

Sorry. Please explain where you see that. 

During WI design you can add attributes from other WI types. So what is the use of this feature?

It's just a way of reusing already defined attributes, however, each work item has it's own copy of it. That is, the data is not shared between the work item types, so it's not like a global variable.

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
× 6,160

Question asked: May 09 '14, 3:12 p.m.

Question was seen: 5,301 times

Last updated: May 12 '14, 6:20 p.m.

Confirmation Cancel Confirm