How to customize workflow validation message

Adolfo Casari
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 15, 2014

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
Answer accepted
Tuncay Senturk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 15, 2014
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
0 votes
Alexey_Rjeutski__Polontech_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 15, 2014

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

Alexey_Rjeutski__Polontech_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 15, 2014

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