Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to filter / automate based on if a ticket has an associated PR from github?

mariana
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 19, 2025

Background

Our jira repo (cloud) is integrated with github. 

When a PR is pushed, the information is available at ticket level (see screenshot)

Goal

We would like to filter by tickets that have PRs associated. 

We would like to create some automation for tickets that have PRs associated

Failed attempts

We tried 

development[pullrequests].all>1

development[commits].all>1

but it does not work. (from support tickets here)

Question

How can we access the PR / development information per ticket in JIRA?

2 answers

Suggest an answer

Log in or Sign up to answer
0 votes
Pasam Venkateshwarrao
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 Leaders.
May 19, 2025

Hi @mariana 

Welcome to the community,Your question is how to access development information per ticket in JIRA right.

Here is the Answer,

If you open the Jira ticket under Apps (below the issue summary) you can see Git Development if you click on that you can see the Pull Request and Branches information,i have attached image for your reference

Screenshot 2025-05-20 at 10.26.35 AM.png

development[pullrequests].all>1

development[commits].all>1

Jira Doesn't support JQL with Development Filters because development and PR are not indexed for use in standard JQL filters in JiraCloud

 

Hope this helps

0 votes
Piyush Annadate _ACE Pune_
Community Champion
May 19, 2025

Hello @mariana ,
Welcome to the Atlassian community !

You can require to have an automation to update the details of the required information into a read-only customfield.  (you may need to have an customfield).

using Automation, you can update that customfield via https://support.atlassian.com/cloud-automation/docs/jira-smart-values-development/

You need to have smart value based on above link

TAGS
AUG Leaders

Atlassian Community Events