How to make only reporter can trigger specific workflow action?
![]()
Currently, you can define a role and add permission for this role to trigger specific work flow action.
However, my requirement is to ONLY accept the reporter of one specific work item to trigger work flow action to "close" the work item. Since every work item has its own reporter. The role method can not work for my case.
So, I am wondering what should I do to implement this?
I am considering to write a script as validator, I can get reporter of the work item in script, but how can I get current user try to modify the work item in script?
Thanks!
|
One answer
![]()
Ralph Schoon (62.3k●3●36●43)
| answered Jun 16 '16, 2:32 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
As far as I can tell, you would have to create a custom pre-condition similar to https://rsjazz.wordpress.com/2014/05/26/only-owner-can-close-workitem-advisor/
|