Hi,
I’m trying to create a Jira automation that automatically transitions an issue to the “Done” status once all pull requests linked to the issue are merged.
Here’s my context:
What I’m looking for:
I tried using the “Pull request merged” trigger, but it transitions the issue as soon as the first PR is merged instead of waiting for all PRs.
I also tried adding the following condition: {{issue.development.pullRequests.open.size}}, however, it does not seem to work with the Azure DevOps integration.
Has anyone successfully implemented this?
Thanks!
Hi @Laurie Leclerc -- Welcome to the Atlassian Community!
Have you tried using the Pull Request Merged trigger, and following that with a Lookup Issues action with JQL, checking the development status information:
https://support.atlassian.com/jira-software-cloud/docs/jql-developer-status/
I recall others using that method from some other community questions.
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.