Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

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

2 votes

@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

Atlassian Community Events