It's all about the answers!

Ask a question

Can we access parent links and detect if a work item has a parent in a condition?

venkata suvidya dega (266) | asked Oct 08 '15, 3:36 a.m.
edited Oct 08 '15, 3:47 a.m. by Ralph Schoon (63.2k33646)
Here is the condition that needs to be scripted.

For all stories where the Request Type attribute = Enhancement and there is no parent, the following attributes should be mandatory in the In Process, Ready For UAT, and Stakeholder Accepted state:

·         ASCA Required

·         Webscan Required

·         Personal Information

·         New IDD

Accepted answer

permanent link
Ralph Schoon (63.2k33646) | answered Oct 08 '15, 3:44 a.m.
 As frequently answered in the forum here already, no, you can not access the links and other complex relationships using JavaScript. All you can access in JavaScript is attribute values and links ain't attributes. You might have a chance with Java based conditions. See
Ralph Schoon selected this answer as the correct answer

Your answer

Register or 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.