Can I access the work item ID in a calculated value attribute customization?
Hello,
I need to access a work item's ID in a calculated value attribute customization. Is it possible?
In my script I have:
and this allows me to access, for example, a work item's state using:
Can I do this with the ID using: ?
Thank you and best regards,
Andrew
|
Accepted answer
yes, you can use workItem.getValue(workItemAttributes.ID) where workItemAttributes is of type
com.ibm.team.workitem.api.common.WorkItemAttributes
https://jazz.net/wiki/bin/view/Main/AttributeCustomization#Accessing_built_in_attributes_of Andrew Trobec selected this answer as the correct answer
|
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.