JS script to assign a user to owner field
![]()
T M (887●6●187●143)
| asked Sep 27 '12, 9:34 a.m.
edited Sep 27 '12, 10:04 a.m. by Ralph Schoon (61.5k●3●36●43)
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 (61.5k●3●36●43)
| 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.
|
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.