How to customize workflow validation message

When a workflow validation fails, Jira displays a warning with text (It seems that you have tried to perform an illegal workflow operation. If you think this message is wrong, please contact your JIRA administrators)

Where can I change this text?

Thanks in advance.

2 answers

1 accepted

Hi Adolfo Have you tried in free product translate plugin https://marketplace.atlassian.com/plugins/com.atlassian.translations.jira.inproduct With this plugin you don't need to edit any properties file. Tuncay

If you are writing a custom validator - please refer to https://jamieechlin.atlassian.net/wiki/display/GRV/Validators

https://answers.atlassian.com/questions/79067/custom-validator-script-with-custom-error-message

you can put your message to InvalidInputException (or attach it to custom / normal field using 2 arguments constructor)

If you use validator that require some action on a custom field - put that field on the transition screen so user can do the needed action within the transition.

If you are using some bad written validator and want to replace system message - it seems to be inside file \atlassian-jira\WEB-INF\classes\com\atlassian\jira\web\action\JiraWebActionSupport.properties under illegal.workflow.desc paraeter

if you use some validator - I recommend always to have the transition screen, maybe without fields at all - but you will see the proper validator message for common occasions.

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 Apr 17, 2018 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...

767 views 2 19
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