Hi there,
I have automation built into our workflow of the below:
- task in progress
- assignee moves to code review and ensure Pr(s) have Id in it to automatically add into JIRA
- sub task code review is created to the parent task.
- once PR(s) are merged, code review sub task automatically closes and move parent task to QA -- then creates a sub task QA
The problem we are having is some tickets could have multiple PRs... once one is merged , the automation kicks off. Is there a way to update the rule to only do this if all PRs in the ticket are merged?
See below the current automation:
See example of current ticket:
Hi @eric caprio
First a disclaimer: I am not currently using a build pipeline with my Jira instance, and so cannot test my suggestions to verify them. Instead my suggestions are based on what I know about automation rules. With that out of the way...
For this scenario, once the rule is triggered on PR Merged, you want to check if there are any other open PRs for that same issue. Unfortunately, I do not believe there is JQL support to do this for PRs yet. Here is a related suggestion for the feature.
Have you considered calling the REST API for your pipeline tooling to check, using the automation Send Web Request action?
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.