JS script to assign a user to owner field
One answer
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
Terry Kemp
Feb 02 '13, 8:11 p.m.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.