[JMWE] Field Number Validator

RIZKY JTUASIKAL
Contributor
January 1, 2025

I have a field with the name MoA Total (numeric field)

 

How to make sure that when submitting status A to status B, there is validation as follows

- If MoA Total < 0, then it is invalid and the process cannot continue.

- If MoA Total >= 0, then it is valid and the process can continue to the next status.




 

Thank you in advance, any help would be appreciated.

1 answer

1 accepted

4 votes
Answer accepted
David Fischer
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 1, 2025

Hi @RIZKY JTUASIKAL 

You can add a Build your own Validator to the transition, with a Jira expression like:

issue.customfield_12345 >= 0

Where you'll replace the custom field ID with the ID for your custom field (which you can find using the Issue Fields help tab) 

RIZKY JTUASIKAL
Contributor
January 1, 2025

Hi @David Fischer ,

 

Hi, first of all, Happy New Year!!
may you and your family always have good things this year

 

I've tried your suggestion, and it works, it works very well.


thanks for your help @David Fischer 

Capture.PNG

Suggest an answer

Log in or Sign up to answer