Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Automation with Github - How to create a rule based on a Draft Pull Request

suha_shakaa July 22, 2024

 

 

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.image.png

image.png

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events