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

This widget could not be displayed.

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

Thank you Jamie!

This widget could not be displayed.

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

This widget could not be displayed.

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
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

536 views 3 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