Get the Planned For Value set in a Work Item from Java API
Hello,
for example I have an WorkItem number xxxx which the value of the Planned For field is "Release 1.0".
What I need is to get from my script is the value "Release 1.0" for that work item number,
Is there some few lines of code simple to do that? (I already have the workitem variable available in my script)
Thanks a lot for the help.
Accepted answer
In Java you can access this data as described here: http://rsjazz.wordpress.com/2012/10/05/handling-iterations-automation-for-the-planned-for-attribute/ . https://jazz.net/library/article/1093 lab 5 provides you with guidance and information with respect to JavaScript. The spy script should show how to access built in attributes and what you actually can access.
https://jazz.net/wiki/bin/view/Main/AttributeCustomization explains it also, also the limitations.
WorkItemAttributes.PLANNED_FOR
Is the id to use.