Forums

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

Filter for Blocked stories ?

Mirela Todorova June 20, 2023

Hi all, how can I filter tickets that are blocked by another ticket via the "linked issues" functionality?

2 answers

2 accepted

1 vote
Answer accepted
Ditte Simard
Community Champion
June 20, 2023

If you want to find issues that are blocked by a specific issue, you can use this function:

issue in linkedIssues("BLAH-1", "is blocked by")

If you need to find issues that are blocked by ANY issue, you can use this function:

issueLinkType in ("is blocked by")

If you want to learn more about JQL functions that come out of the box with Jira, I would recommend that you check out this article by "The Jira Guy":  https://thejiraguy.com/2021/11/03/more-jql-functions/

I hope this helps!

1 vote
Answer accepted
Frederik Vantroys
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.
June 20, 2023

Hello @Mirela Todorova ,

 

Following JQL query should set you in the right direction:

 

issueLinkType = "is blocked by" and issueFunction in linkedIssuesOf("issueKey = <issue key>")

Frederik Vantroys
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.
June 20, 2023

or 

issueFunction in hasLinks("is blocked by")

if you want all tickets that are blocked, not only blocked by on specific ticket

John Funk
Community Champion
June 20, 2023

This would require the ScriptRunner add-on. 

Like Ditte Simard likes this
Nic Brough -Adaptavist-
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.
June 20, 2023

Note: This only works when you have Scriptrunner installed.

If you are doing it in Cloud, you need to be running it in the enhanced search as well.

Like # people like this

Suggest an answer

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

Atlassian Community Events