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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Create an automation rule to move issues to done when merge PR to a master branch (github)

we trying to create an automation rule when a PR is merged, but we want to transition the issues to DONE only when the PR were merge to the Master branch

2 answers

@Hender Ruiz 

This should work if the branch is called "Master". 

Screenshot 2020-12-04 094451.png

^ You may also want to include a check that there are no other Pull requests open. You can do this using a JQL condition. 

key = {{issue.key}} AND development[pullrequests].open = 0

Thanks, I'm going to test this solution and let you know!

0 votes
Mikael Sandberg Community Leader Dec 03, 2020

Instead of using an automation rule, why not use a workflow trigger instead? This is what workflow triggers are intended for, to transition issues when something happens in your development tool. Have a look at Configure workflow triggers for more information.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Automation

New to Jira Automation - goodbye Cron (sort of), hello new project created trigger, new additions to

Hey Everyone! Simeon from the Automation team here. I'm delighted to share some new features and improvements that we are shipping to Jira automation (Cloud only). Firstly, @Sam Harding&nbsp...

2,879 views 10 23
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you