I have created a Jira transition called "Abandon Issue". I would like this transition to be used for closing issues with any resolution other than "Fixed". I have added the following transition condition:
The field Resolution will have to be not equal to value 'Fixed'. Compared as String.
However, it's not working. When I click the "Abandon Issue" button, I can choose "Fixed" in the issue resolution screen and the issue transitions to "Closed" without any error messages. What am I doing wrong?
Yes, a Condition stops you executing the transition, and works off current data before the transition starts. So it always passed your code because the current resolution was null.
Another option would be to not ask the user for a resolution - instead, use a post-function to set it to "abandoned" or whatever the most appropriate resolution is.
I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...
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!
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