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

This widget could not be displayed.
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
This widget could not be displayed.

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
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

172 views 1 3
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