Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


JQL query to find issues that are blocked by another (not done) issue

Ultimately, I would like to find a way to change the card color of an issue when it is blocked by another issue and that blocking issue is not done. 


I'm looking for a query to return back this information. 


I have this query, but this does not limit to only issues still blocked. I need access to the blocking issue's status. 

Project = XYZ and issueLinkType = "is blocked by" AND Resolution = "Unresolved" AND status != "done"


If there's another way this should be done with automation, I am open to that as well. 

2 answers

1 accepted

1 vote
Answer accepted
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Sep 20, 2022

Hello @Nici Kalmes 

Jira does not provide the ability to access the status of linked issues natively as part of its JQL features. You would need to use a third party app that extends the JQL searching fields to get that.

You might be able to solve this with automation by creating a custom field in the blocked issue that you update based on status changes in the linked "is blocked by" issues. The rule would be triggered by updates to the status of issues (the ones that show the "blocks" side of the relationship). You would look for issues linked to that one by the specified link. You could then update the field in the blocked issue to keep track of there being unresolved issues blocking it.

0 votes
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.
Sep 21, 2022

Hi @Nici Kalmes 

As you're on Jira Cloud, the correct answer is to get an app that provides JQL extensions you're looking for.

With standard JQL, you can only get a list of issues and export them to Excel for further processing. This works if you want to do a one-off analysis. If your use case is more dynamic than that, look beyond standard Jira.

Standard JQL doesn't easily allow it, but you can quickly find the results using our professional indexing service JQL Search Extensions

You can use this query to find all the issues that are blocked by another (not done) issue

issue in linkedIssuesOfQuery("status != done") and linkType = 'is blocked by' 

Check out the documentation for more examples.

If you have any other questions, please contact our support. We’ll be happy to help you!
Best regards,

Suggest an answer

Log in or Sign up to answer
Site Admin
AUG Leaders

Atlassian Community Events