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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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
TAGS
Community showcase
Published in Jira Automation

Announcing the Jira automation template library!

Hi all,  After many months of work, I am delighted to announce the launch of the Jira Automation Template Library!  The Template Library is a new website dedicated to all things Jira au...

710 views 12 20
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