Forums

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

Scripted validator - Compare value of 2 custom number fields

Andrew Swain
October 23, 2018

Hi all,

 

I'm trying to prevent simple, incorrect fix fails where the regressed cl is lower than the fixed cl.

To do this, I'm trying to create a simple scripted validator to compare and check that the regressed CL is equal to or greater than the fixed CL, which are both number fields. However it seems >= is not supported and I'm otherwise unsure how to implement this. Help?

 

I've tried this as a simple scripted validator:

cfValues['Regressed CL'] >= cfvalues['Fixed CL']

 

Thank you.

1 answer

0 votes
cgauterio
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 5, 2014

Hi Aamer,

To do that, you need to make use of Workflow Properties, as it is not possible to configure this setup in JIRA. There's an open suggestion being tracked at: https://jira.atlassian.com/browse/JRA-3821

Please add yourself as a watcher to be notified of future updates.

Cheers,

Clarissa.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events