Hi all,
I have googled my eyes out and I have been unable to find a successful answer to this issue I am having, so I'm hoping someone here can help.
I have a custom field for a Dollar Amount, and depending on the amount we fast-track and bypass an approval.
I have tried different ways of validating this criteria and none work. See the 4 methods I have tried ( 2 of which were answers I found online).
1) cfValues["Amount"] <= 20000
2) cfValues["Amount"] <= 20000.0
3) cfValues["Amount"] <= Double.valueOf(20000)
4) def amount = issue.getCustomFieldValue(customFieldManager.getCustomFieldObjects(issue).find{it.name == "USMIA - USD Amount"})
amount <= 20000
Any help here would be extremely appreciated.