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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

75 views 0 5
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