Automatically set owner in actions?
One answer
Comments
Thanks! I will try this out and let you know the results.
The problem with calculated value providers for the owner attribute is, that it always needs to calculate. That is why we suggest to make calculated attributes read only. In addition the attribute customization is always for all work item types. So you can't easily limit them to just a special type.
If you want to go this way, it might be a good idea to do this not with the owner attribute, but with a custom attribute.
Another approach you could try is Java Work Item save participants (example: https://rsjazz.wordpress.com/2012/11/30/a-create-approval-work-item-save-participant/). The benefit is, that it would run on the server can be much more selective as well as has access to user and role data.
1 vote
Thanks for the info. I'll keep this in mind. Developing a server based participant is more difficult. Especially the deployment part as I'm not the admin of our server.
I have done this successfully with a server side extension as Ralph has suggested (Based on his create work item approval example).