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

0 votes
Accepted answer
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
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,476 views 15 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