Is there a way to check of a "non-custom" field has a particular value?
I want to make sure the "Resolution" is "Not an Issue", but the script
cfValues['Resolution'] like 'Not an Issue'
does not work - it also does not complain that 'Resolution' is apparently not in "cfValues".
Is there a construct available for referencing the "Resolution"?
Thanks - jOhn -
Actually exactly the opposite - the "Resolution" must be "Not an Issue".
To clarify (using our state names, which are irrelevant to the problem):
during a transition from "Verification" to "Cancelled",
the action "Set Issue to Cancelled" shall be possible only if "Resolution" is "Not an Issue".
I was using the
but since "Resolution" is not a custom field, this was not working.
I was hoping for a simple way to access the value of "Resolution", and your code did the trick after changing it to
issue.resolution?.name == 'Not an Issue'
Thanks - jOhn -
I guess the idea is to make the user really aware of what s/he is doing when cancelling an Issue after it has already been "integrated" and "verified" (those are the transitions we have after "opened").
I had also thought of that type of post function, but the stakeholders went with the validator.
Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot