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 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!

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

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,426 views 0 8
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