Transition condition checking if issue is not assigned to current user?

I've removed the Assign Issue permission and created an Assign Issue to Me transition so users can only assign issues to themselves. I followed the advice given here by Renjith. Everything works great except I would like to hide the Assign Issue to Me button when an issue is assigned to the current user.

There's the condition "Only the assignee of the issue can execute this transition" but I'm looking for a condition that's "Only when the current user is not the assignee of the issue can they execute this transition". So the inverse. I'm on a local instance of JIRA (v5.0) but won't have the ability install any plugins. Is this possible with JIRA alone?

Thanks.

2 answers

Everything works great except I would like to hide the Assign Issue to Me button when an issue is assigned to the current user.

Hmm, if the button executes a transition, then after a user has assigned the issue to himself, shouldn't the button be removed already ? As the issue has already transitioned and therefore it "moves" to the next phase where you cannot execute the transition anymore. (The next phase does not have the transition)

Unless you created a transition that points back to the issue itself.

Right, but what I would like to do is to set a condition so that button only displays when the issue is not assigned to the current user. Right now that assigned to me transition button only appears when the issue has a status of Open. When you select the assign to me button it transitions to the same status of Open but there's a post function that auto-assigns it tothe current user. Likewise, I have an Unassign Issue transition with the condition of Only the assignee can execute this transition. So when an issue is not assigned to a user they will not see that unassign issue transition button.

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
Posted Wednesday in Jira

Join our webinar: How 1B+ feature flag events helped us build the new Jira

Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...

132 views 0 3
Join discussion

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