Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
  • Community
  • Q&A
  • Jira
  • Questions
  • Need assistance with a Jira Automation where multiple pull requests are associated with an issue

Need assistance with a Jira Automation where multiple pull requests are associated with an issue

Gary Parker
April 16, 2026

So I have a Jira automation that will progress a ticket from one state to another when a PR is merged. That is pretty straight forward and is mostly OOTB in Jira.

However, I want to add a constraint to this to only progress it when there are no open pull requests against the ticket. Our tickets can on occasion link to multiple repos which can have a pull request open against them. I appreciate this may not be the norm, or maybe it is.

I want to add an if condition to my automation rule that says, if there are no open PRs against the ticket, move it to the next state. Is this possible using a rule, smart values or JQL to achieve this?

1 answer

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
April 16, 2026

Hi @Gary Parker 

My understanding is the pull request-related smart values are only available with the specific PR triggers, and only provide information for that specific PR in the trigger. 

To check for other open PRs, one could use the Send Web Request action in a rule to call the REST API endpoints in your source control tool to check for that work item key.

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events