I am trying to create a rule where when a draft pull request is created in Github the jira ticket is transitioned to Code review status.
I have tried many things including and they also didn't work:
{{pullRequest.state}} contains Draft
{{pullRequest.state}} equals Draft
{{pullRequest.title.toLowerCase().indexOf("draft")}} greater than -1
the latest thing I have tried was the screenshot below and it still giving an error. The Audit log is giving me "no action performed" saying issue didn't match the condition. And when I check the ticket I'm trying to test on I find it in the same status, although in the Development field I can see that there is a Draft PR created.