calculated value script to read work item subscribers - rational-team-concert
![]()
Monika Gupta (6●1●4●4)
| asked Apr 05 '13, 5:54 a.m.
edited Apr 05 '13, 6:00 a.m. by Ralph Schoon (61.8k●3●36●43)
I wrote a calculated value script to read the value of subscribers and autopopulate a custom attribute (of type string).
|
One answer
![]()
Ralph Schoon (61.8k●3●36●43)
| answered Apr 05 '13, 6:06 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Apr 05 '13, 6:07 a.m.
Hi Monika,
you can find the valid attribute ID's for RTC here: https://jazz.net/wiki/bin/view/Main/AttributeCustomization#Accessing_built_in_attributes_of As you will notice there is no API WorkItemAttributes.SUBSCRIPTIONS which is basically because subscriptions are not at all managed as an attribute. It is not accessible in Java Script. Similarly inaccessible are approvals, work item links, attachments and the like. Also see https://jazz.net/library/article/1093 Lab 5 for what you can and can not do in scripts. If you want to access the items mentioned above you need to use the JavaAPI and would probably have to create an Extension. |