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 vote
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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

26 views 0 4
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