Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to limit assignment and tranisition based on issuetype and role

Mohamed El Taweel April 15, 2018

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.

2 answers

0 votes
Joe Pitt
Community Champion
April 16, 2018

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. 

0 votes
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 16, 2018

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. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events