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

Access Linked Work Item via JavaScript

.
Is there a way to Access Linked Work Item via the JavaScript api ?

For example:
In validations I would like to have the option to check status of parent WI to know if change attribute is allowed in current WI.

How can this be done ?
Thank you.

0 votes



One answer

Permanent link

 Hi,


You can use the proxy object and his method getLinkTypes()

var proxy = workItem.getProxy();
var liens = proxy.getLinkTypes();

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
× 10,943

Question asked: Jun 30 '11, 9:36 a.m.

Question was seen: 3,900 times

Last updated: Sep 10 '19, 6:28 a.m.

Confirmation Cancel Confirm