Set Contributer Type using script
Hello Team,
I am using RTC 6.0.2
I want to set Contributer Attribute with a particular user name on save of WI.
I want to do it using dojo Script, Please help me.
My code is below:
dojo.provide("com.example.IssueFLValueProvider"); |
Accepted answer
Ralph Schoon (63.5k●3●36●46)
| answered Oct 10 '16, 2:23 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Oct 10 '16, 4:17 a.m.
https://jazz.net/wiki/bin/view/Main/AttributeCustomization mentions
Only values of the following attribute types can be safely read by and returned from scripts: .......
Pankaj Sharma selected this answer as the correct answer
|
One other answer
If you want to set a value to an attribute when saving a work item, you should use a Calculated Value provider. You script shown above is a Value Set provider, which provides a set of values for a certain attribute. I suggest you read through the below article and wiki to have better understanding the attribute customization topic.
https://jazz.net/library/article/1003 https://jazz.net/wiki/bin/view/Main/AttributeCustomization |
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.