When you need to access non built-in attributes of work items
De'Shea Bennett (1●6●6)
| asked Apr 11 '13, 2:02 p.m.
retagged Apr 11 '13, 2:21 p.m. by Indradri Basu (1.8k●1●5●14)
In a script, I know you access built-in attributes of work items with the com.ibm.team.workitem.api.common.WorkItemAttributes class but how do you access attributes that are not built-in?
|
2 answers
For custom attribiutes the same should work. For example, you can use the workItem.getValue("AttributeID") to access the value of a custom attribute.
If you are starting with Attribute customization then I would recommend to go through this although there are several articles available around on this area. Comments
De'Shea Bennett
commented Apr 11 '13, 3:07 p.m.
Yes; I've been through this document and haven't been able to set anything outside of the attribute ID and a default (hard-coded) value.
It also seems like it take the tool a long time (30 minutes) to take the change of a new script. |
Ralph Schoon (63.3k●3●36●46)
| answered Apr 11 '13, 2:22 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Wrong answer... Again, read https://jazz.net/library/article/1093 lab 5
|
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.