I have one workflow (HR-Workflow) for three issue types
- workers-issue-type
- mgmt-issue-type
- emptype-issue-type
I need to
- limit assignment and transitions of workersType to be done by workers-role
- limit assignment and transitions of mgmt-issue-type to be done by mgmt-role
- limit assignment and transitions of emp-issue-type to be done by emp-role
any ideas on how to implement this
Thank you.
The advantage of option 1 from @Alexey Matveev is you don't need a plugin or any scripting expertise. While you may know scripting, those following you may not. I prefer to use the option requiring the least technical knowledge for long term supportability.
I can see two choices:
1. You can divide one workflow to three workflows and use the User in Any role condition to limit transitions and workflow properties to limit the user, who can assign issues. You can find more info on workflow properties here:
https://www.j-tricks.com/tutorials/permissions-based-on-workflow-status
2. You can use plugins like Power Scripts or ScriptRunner to write your own custom condition.
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.