Way to set JIRA automation to transition ticket in case all of the linked Pull Requests were merged

Aron Banyasz April 2, 2021

Currently we are using the JIRA automation in our next-gen project in a way that once a JIRA issue's linked Pull Request is merged in Github the automation transitions the JIRA issue into the next status.

 

However, we often have a single JIRA issue linked to multiple PRs in github and currently as soon as the first PR is merged that is linked to the JIRA issue the issue is transitioned to the next status automatically.

 

My question: is there a way I can set a rule to only transition a JIRA issue automatically in case ALL it's linked PRs on github have been merged?

1 answer

1 accepted

0 votes
Answer accepted
Walter Buggenhout
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 2, 2021

Hi @Aron Banyasz,

Looking at the Automation template library, I am wondering if this template rule might help:

Screenshot 2021-04-02 at 15.39.43.png

It adds an additional JQL condition that - if I am not mistaken - holds a check to verify that there are no more open PRs.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events