My workflow has a trigger that transitions an issue from Code Review to QA status when a PR is merged in Bitbucket.
Some Jira issues require multiple pull requests. When one of the PRs is merged, the issue is transitioned to QA even though there are still open PRs.
How can I check to see if there are open PRs before transitioning the issue to QA? This will help reduce the false positives for our QA engineers.