Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

When you need to access non built-in attributes of work items

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?

0 votes



2 answers

Permanent link
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.

1 vote

Comments

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.


Permanent link
 Wrong answer... Again, read https://jazz.net/library/article/1093 lab 5

1 vote

Your answer

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

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Apr 11 '13, 2:02 p.m.

Question was seen: 5,586 times

Last updated: Apr 11 '13, 3:07 p.m.

Confirmation Cancel Confirm