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

How to get the parent workitem id by attribute customization in rtc 502?

 Hello,
       There is one workitem whose id is '123',i'm making a customization for it now ,and i need to use its parent workitem id in the customization,so  I want to know is there any function to get the parent workitem id ,just as workitem.getAttribute().Thanks!

0 votes


Accepted answer

Permanent link
If you talk about JavaScript, you can't access other work items from within a script.
Li Li selected this answer as the correct answer

0 votes

Comments

I create a task workitem whose id is 8722,then i add a parent workitem whose id is 8255 to it through the link tab. 


Now i'm making an attribute customization which is caculated values for 8722,and now i want to get the value of the parent link in the customization. 
As you say,it is impossible that i want to do above.Then,if i don't use javascrip,what should i do to complete it?

You can't use JavaScript. You can use an approach like: RTC Update Parent Duration Estimation and Effort Participant

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,121

Question asked: Jan 07 '16, 2:49 a.m.

Question was seen: 2,518 times

Last updated: Jan 07 '16, 3:56 a.m.

Related questions
Confirmation Cancel Confirm