Script runner - simple validator (how to edit error message)

Hi, 

I am trying to edit the error message to be more visible for the our usual JIRA user.

Right now I have something like this set in the Simple scripted validator:

image2015-11-20 12:43:1.png

But in the issue view it appears as:

image2015-11-20 12:45:31.png

 

Could you please tell me how can I get rid of those two last lines or at least make my text error bold (or maybe increase font size)?

 

Thanks in advance!

Paulina

 

3 answers

1 accepted

1 vote

This happens when there is no screen for the action. 

I agree with you, this is nasty. JIRA provides no way of setting the formatting, or from hiding the last two lines. 

JIRA should suppress the second two lines when it catches an InvalidInputException, as this is the correct way to validate fields. 

I created a JIRA bug, can you vote/watch it: https://jira.atlassian.com/browse/JRA-47281

0 vote

Paulina, can we have your jira and scriptrunner plugin version please?

Hi Jamie, Jira version is 6.4.12 and Script Runner version is 3.1.4.

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 May 30, 2018 in Marketplace Apps

Three tips for boosting your board's efficiency with Story Maps

Trello is one of the most effective tools for driving your sprints. It's customizable for every Agile team and product owners and Scrum masters (SM) love it. However, Agile teams often struggle with:...

860 views 2 9
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