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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

389 views 1 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