Hi
I want a script that will send a notifications on based on a custom field where the value exceed required amount it trigger and send email.
i have tried this option (cfValues['Estimated Value'] >= 1000) bt it doesnt work?
By "doesn't work" I presume you mean you get a class cast exception, because there is no integer custom field in jira?
Try
((cfValues[' Estimated Value '] ?: 0) as Integer) >= 1000
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.