Jira 7 - JQL Linked issues

Florent Delvaille November 28, 2019

Hi,

We're using Jira 7.x and I'd like to create 2 Swimlanes in my Kanban able to show the following issues:

 

1) Issues in any project, having label "X" AND potentially having linked issues to it (issues that are blocking) that are not closed (So basically the top issue is blocked until the linked issues are unblocked/done). Of course, it could also be possible that the top issue has no linked issues … so must be shown too.

 

2) Basically the opposite. Issues I can work on

 

I tried with stuffs like (issueFunction in linkedIssuesOf("status not in (Resolved,Closed)") AND issueFunction in hasLinkType(Blocks)), but can't succeed to have a consistent answer.

 

If somebody can do magic with JQL, feel free to help :)

 

Thx in advance.

 

Regards;

 

 

1 answer

1 vote
Leonard Chew
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.
November 28, 2019

You are using issueFunction in your JQL. I assume you have installed the Scriptrunner add-on?

If so, this query would do the job:

Swimlane "Blocked Items":

issueFunction in linkedIssuesOf('resolution is empty', 'blocks')

Swimlane "Not Blocked"
-> just leave it empty

I suggest using a quick filter for the labels.

Suggest an answer

Log in or Sign up to answer