Hello,
I feel like a total newb here. I'm just trying to transition an issue through the post-function on the condition that the value of a custom field is "Yes":
Hi Jake,
Try the following syntax
if (cfValues['FIELD NAME'].getValue() == 'FIELD VALUE'){ ... }
Peter, you are a good man. I'll test this today and let you know.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Peter, this works beautifully: if (cfValues['SendEmail'].getValue() == "Yes"){ return true } However, this only works in the Simple Scripted Condition. I get an error when executing this using a post function: groovy.lang.MissingPropertyException: No such property: cfValues for class: Script1 Any thoughts?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I ended up using the condition instead of the post-function and it worked fine. Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.