How do I Derive Calculated values using Custom Attributes
![]()
Sivarajah Rajeswaran (15●2●12)
| asked May 18 '16, 2:02 a.m.
edited May 24 '16, 11:33 p.m. by David Lafreniere (4.8k●7)
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 |
One answer
![]()
Ralph Schoon (62.0k●3●36●43)
| answered May 18 '16, 2:12 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited May 18 '16, 2:14 a.m.
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 ![]() Also read https://jazz.net/wiki/bin/view/Main/AttributeCustomization |