JS script to assign a user to owner field
T M (887●8●188●143)
| asked Sep 27 '12, 9:34 a.m.
edited Sep 27 '12, 10:04 a.m. by Ralph Schoon (63.5k●3●36●46)
Does anyone has a JS script to set the owner of a WI upon submission to a specific user depending on the filed-against category?
|
One answer
Ralph Schoon (63.5k●3●36●46)
| answered Feb 03 '13, 11:39 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
TM. You can use workitem.setValue to set a contributor type attribute. You have to pass a valid UUID. You can not pass a user id or name. You can get UUIDs e.g. Using a getValue for example. There have been several examples in the forum recently. http://jazz.net/forums/viewtopic.php?t=15096 lab 5 provides more information.
|
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.
Comments
Hi, are you still trying to figure out how to do this? I got it working, but would need to sanitize my script to turn it into an example.