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

Paulina Wegrzyn November 20, 2015

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
Answer accepted
JamieA
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.
November 25, 2015

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

Paulina Wegrzyn November 25, 2015

Thank you Jamie!

0 votes
Paulina Wegrzyn November 24, 2015

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

0 votes
JamieA
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.
November 24, 2015

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events