I want to be able to transition from a "Needs Information" status back to whatever previous status the ticket was in. I am trying to do this buy adding transitions to each possible status and then adding a condition to only show if the previous status was "In progress" or "QA" but I want the button to always say "Submit Info" regardless of the transition destination since there are going to be about 6 possible destination statuses.
I tried adding a property to the transition with
jira.i18n.title and then adding 'Submit Info' as the property value but that didn't work.
Also I have the misc workflow extensions plug in installed for JIRA Cloud/ondemand
You can do this by either one of the following:
I guess #1 is the free and the easiest way to do it.
See the screenshots for #1.
2014-12-05 15_28_35-Add Condition To Transition - Tracking System.png
2014-12-05 15_29_10-Add Workflow Transition Condition - Tracking System.png
This doesn't seem to solve my issue of wanting one button to display with the same text. It seems like I either need one transition with 6 conditions or post functions, or 6 transitions with one condition or post function. It seems like I still need 6 transitions and the appropriate button will show but I want the button to say "Submit Info" regardless of which of the 6 transitions is currently available to the user.
I have attached a screen shot of the 5 conditions I need and what post functions i have currently. I think I set them up as you indicated. Now I assume I need a setup one or maybe 6 post functions based on the conditions?
Thank you for your help on this!conditions.jpg
Here is what you have to do (remove first the conditions from there)
changeHistoryManager.getChangeItemsForField(issue, "status").getAt(changeHistoryManager.getChangeItemsForField(issue, "status").size() - 2).getFromString().equals("Open")
Hope that helps,
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
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