Hi colleagues!
I want two transitions for my workflow
1. Cancel - available for assignee only
2. Cancel and close - available for reporter only
but when you're both reporter and assignee you see all of these transitions and for some of our coworkers it might be confusing
is there any way to configure a condition to hide 'cancel' transition when assignee =! reporter?
Thanks a lot in advance!
Hello @Daria Pavlova ,
I think there is some typo in your requirement. Because if you configure a condition to hide 'cancel' transition when assignee =! reporter, that means the assignee will never see 'cancel' transition, but when the assignee and reporter are the same, both transitions will be available.
So I think you need a condition if assignee = reporter hide 'cancel' (or 'Cancel and close')so only one of those is available.
If you have Power Scripts app in your Jira , you can configure 'Power Scripts SIL Condition' on 'Cancel' transition (or 'Cancel and close' - depending on which one should be not available if the assignee and reporter are the same ) with the following script:
if( assignee == reporter )
return false;
Adding also some documentation about it https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15487273/Writing+Conditions+Validators+and+Post+Functions
Best regards,
Anna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.