I created a new workflow in JIRA with an extra step, I need a user to be able to drag an issue from this step (in JIRA Agile) to the Resolve step and resolve the issue.
The problem I am seeing is that when the issue is dragged from the new step to Resolved it does not cross the issue ID out, it does resolve the issue but its resolution is "Unresolved".
On the workflow for my new step I added a new transition called Resolve Issue, however, it is clearly not the same as the Resolve Issue that the other steps are using. The one the other steps are using is Italic and has (5) after it, my new one has (771).
How can I use the JIRA Resolve Issue transition? So that the issue is properly resolved.
You don't need to (re)use any specific transition really. You need to run through your workflow and work out what transitions should SET the strikeout and which should REMOVE it.
For example, Open -> resolved, Open -> closed, In progress -> resolved - these should always set it. Resolved -> Open or Closed -> Open should clear it. But open -> In progress and resolved -> closed should not touch it.
Once you've decided on these, you have three things to do. For all the REMOVE transitions, put a post-function on them that "sets issue field" and set "resolution" to "none". For the SET transitions, you can use the same function to set the value to something else OR you can take the user through a screen that includes the resolution field, which will set it.
The bottom line is that your strikeout is saying "resolution is set"...
When you add a new transition, do you notice the Transition View field? Simply select the default Resolve Issue Screen and then you will see the same effect. Since this is a custom transition, it may have the same name but a different ID from the system's Resolve Issue transition.
If you don't want to use screens, then post-functions are the best choice.
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot