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
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
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
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