How can I change the display text of a transition button?

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.


Please help.


Also I have the misc workflow extensions plug in installed for JIRA Cloud/ondemand

8 answers


I'm affraid it cannot be done... but let's wait for other answers to see if someone else has achieved it.

You can do this by either one of the following:

  1. By using JIRA Suite Utilities Plugin which is free and use the post function called "Value Field" where you can allow executing a transition if the given value of a field (Status) is equal to a value or value set.
  2. By using JIRA Enhancer Plugin (commercial) by using the Previous Status Condition post function
  3. Using Script Runner post function script condition.

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.

Yes, you will have one transition with 6 conditions/post functions - and yes, you would have the same transition text.

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)

  1. Install scriptrunner plugin
  2. Assuming you have In Progress, QA and etc statuses, each of them has transition/action ID's to move to each statuses. Use the fast track transition issue script for the Submit Info post function (script post function) as described here:
  3. In that post function script, you can use the condition as (if previous status was "open"):


changeHistoryManager.getChangeItemsForField(issue, "status").getAt(changeHistoryManager.getChangeItemsForField(issue, "status").size() - 2).getFromString().equals("Open")

Hope that helps,



I am using JIRA Cloud so I cannot install that plugin unfortunately.

Sorry Neil, I missed that part. I don't think you can do that with JIRA Cloud out of the box, unfortunately.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,304 views 12 19
Read article

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