It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Jira 7 - JQL Linked issues

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

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
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you