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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.