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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,789 views 11 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot