Can we access parent links and detect if a work item has a parent in a condition?
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
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 https://rsjazz.wordpress.com/2013/06/26/attribute-customization-java-based-value-providers-conditions-and-validators/