I am trying to use Groovy Script Runner to auto transition an issue if it is in a certain status. I'm using "Open" as my test/example:
issue.status?.id == 1 issue.status?.name == 'Open'
Neither of these conditions work. Does anybody know why? Also, I'd like to add a second conditional but I wanted to know if this is the correct syntax:
cfValues['customRadioFieldName'] == 'Yes'
issue.statusObject.name is what you need.
Join us June 26, 11am PT for a webinar with Atlassian Champion Robert Hean & Loom’s Brittany Soinski. Hear tips, stories, and get your burning questions answered. Learn how Loom makes training and enablement easier. Don’t miss it!
Register todayOnline 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.