Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Validate this custom field using script runner

Barkha Singh January 12, 2024

By using script runner how can this be done in jira for my field invest cost.

Requirement :  
Please modify both sentences:
1.00€, 1.00$ or leave it blank if zero. (as a hint in gray)
Add a number in the form of 1.00€, 1.00$ or leave it blank if zero. (validation message)image-2023-05-19-08-02-42-169.png

1 answer

0 votes
Fabio Racobaldo _Herzum_
Community Champion
March 25, 2024

Hi @Barkha Singh ,

in order to have text in gray you need to add text "1.00€, 1.00$ or leave it blank if zero" as custom field description.

Number field custom fields just number so you can't save values with € or $ at the end.

Fabio

Suggest an answer

Log in or Sign up to answer