Forums

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

How to find Issues with Merged PR

Fabian E_
Contributor
June 26, 2018

I'd like to find all open issues that have a merged PR in order to find tickets that might have been forgotten to be resolved and therefore will probably ship to production untested.

JQL has the two terms `development[pullrequests].open` and `development[pullrequests].open`, but unfortunately no means to filter out `declined` PRs. So when I do `status not in (Closed, Resolved) AND development[pullrequests].all > 0 AND development[pullrequests].open = 0`, I will get both issues with `merged` and `declined` PRs. I'd like to only get the ones with `merged` PRs.

Is that possible somehow? If not, could this be added to JQL?

5 answers

1 accepted

1 vote
Answer accepted
Dieter
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.
February 21, 2012
One can prevent such "accidents" by providing another implementation of NotificationSchemeManager. This implementation could inherit from the default implementation and just overwrite getRecipients. If this set of recipients is larger than a predefined limit, mails are not sent or only a certain number of emails are sent. You might also send an alert email to the admins to indicate that obviously somewhere something is misconfigured.
0 votes
Dieter
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.
February 21, 2012
One can prevent such "accidents" by providing another implementation of NotificationSchemeManager. This implementation could inherit from the default implementation and just overwrite getRecipients. If this set of recipients is larger than a predefined limit, mails are not sent or only a certain number of emails are sent. You might also send an alert email to the admins to indicate that obviously somewhere something is misconfigured.
0 votes
JamieA
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.
February 21, 2012

Yeah, as Renjith says, only users can be watchers, not DLs. Do you mean something other than watchers, eg you put a large group like jira-users in a group field that was used in a notification scheme?

0 votes
Renjith Pillai
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.
February 21, 2012

Still you have a problem as you mentioned, if it is a distribution list which is internally having too many users Jira will not even know about this. For jira it is just a single email id.

I know I haven't answered your question.

0 votes
Kumar Ramachandran
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!
February 21, 2012

We use Jira v4.4#649-r158309

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events