How do I Derive Calculated values using Custom Attributes
![](http://jazz.net/_images/myphoto/d098ba7d7649c8250bd9543f4ca4bcd5.jpg)
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
![](http://jazz.net/_images/myphoto/d098ba7d7649c8250bd9543f4ca4bcd5.jpg)
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
![](https://jazz.net/_images/blank.gif)
Also read https://jazz.net/wiki/bin/view/Main/AttributeCustomization