Find all issues with a blocked linked issue that is now closed

James Milenkovic March 24, 2024

We have an automation that flags tickets when they are blocked by another ticket, and unflags when that blocker is closed. 

 

Sometimes, that automation doesn't work. 

 

I want to write a query where I can search for any issue that has a blocker linkedissue on it that has been resolved. 

 

I only want to use JQL. 

 

I believe I did it a while ago by doing a nested filter, but I can't for the life of me find the solution. 

1 answer

0 votes
Harsh
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.
March 25, 2024

Hi @James Milenkovic 

Can you please try - issueFunction in linkedIssuesOf('project = xyz and status = done', 'is blocked by')

As per my understanding this should work.

Thank you

James Milenkovic March 25, 2024

I don't have "issueFunction" 

 

"

Field 'issueFunction' does not exist or you do not have permission to view it."
And I am the admin
Harsh
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.
March 26, 2024

@James Milenkovic 

My bad i was referring to JIRA DC/server. Can you try using 'haslinks' ?
This is what I remember, but not sure.

Hope this helps

 

James Milenkovic March 26, 2024

I think that's only if you have Scriptrunner, which I do not 

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events