Limit Ability To Transition Workflow Based on Current Assignee and Group

I would like to lilmit who can transition an issue's workflow.

Is it possible to allow only the current assignee to transition the workflow and anyone in a paricular group? So both criteria could change it.

I want all users to be able to view all issues.

I've looked into Issue Security but its not clear if you can limit the transition ability. Possibly a transition validator?


4 answers

If you want to restrict the movment of an issue, you'll need to set a property on the step in the workflow. Go to the workflow step and click View step's properties. Then set a property, something like jira.permissions.move.user= user_name , = group_name , or jira.permission.assign.assignee to "granted".

This link is still a good source for more on this. You might also check

1 vote

Actually, workflow properties are overkill and over-complex for this.

If you look at a transtion, you'll see you can add "conditions". These allow or deny people to perform transitions based on all sorts of rules.

The really easy one is "only allow current assignee". "Only allow if user is part of a group" is another. You can glue them together with AND and/or OR statements too. You can do roles, reporter, project lead, assorted permissions, field contents etc etc etc. And write your own!

In fact, you should ALWAYS place at least one condition on every transition, even if it's just "person must be a member of jira-users", otherwise anonymous users can do stuff.

Is there a way to have a 'blanket condition' for an entire project workflow? I don't want to have to add a condition to every single transition in my workflow, that is very prone to input-error.

"Only allow current assignee" is not an easy to use option.

It fails when you add the Assignee field to a transition screen: If the assignee sets a new assignee before confirming the transition, the transition with a permissions error. 

Yes, that's why you don't put it on the screen.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,647 views 18 21
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you