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

How do I Derive Calculated values using Custom Attributes

I referred to this article to findout how to use calculated values in WIs

http://www.ibm.com/developerworks/rational/library/rational-team-concert-calculated-fields-work-item/

In Listing 8 , it tell me what the names are for in-built attributes but I need a similar listing for custom attributes, where can I get this from

0 votes



One answer

Permanent link
When specifying a custom attribute, you have to provide an ID e.g. my.custom.string. You basically pass the id as string in getValue()/getLabel() calls. E.g.

var val = workItem.getValue("my.custom.string")


You should look up the ID's in the Web UI (project area admin).

See
Lab 4/5 for more details. 
Also read https://jazz.net/wiki/bin/view/Main/AttributeCustomization

0 votes

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
× 12,022
× 369

Question asked: May 18 '16, 2:02 a.m.

Question was seen: 2,490 times

Last updated: May 24 '16, 11:33 p.m.

Confirmation Cancel Confirm