Filter issues by blocking in sprint

Hi, I would like to filter issues in a sprint to show only those that block other issues in the sprint. 

 

For example:

  • Issue-100 = in current sprint, blocks Issue-102
  • Issue-102 = in current sprint
  • Issue-103 = in current sprint, blocks Issue-104
  • Issue-104 = in backlog

Filtering by issues that block other issues in this sprint would show only Issue-100.

 

I'm pretty new to this, but based on some brief googling it seems like JQL isn't capable of this. Are there any plugins that can do this? I'm open to paid solutions too.

 

Thanks!

2 answers

Hi,

try this one:

issue in hasLinks("blocks") 

If it will not work install ScriptRunner plugin (older version was for free and it contains many useful jql functions)

Any question? Feel free to ask here! 

 

Michal

I can't seem to find the hasLinks function, nor can I find ScriptRunner (we're using JIRA Cloud 7.2). Am I looking in the wrong places? Thanks!

Script Runner is not available for JIRA Cloud...sorry wink

you can alwyas try jTricks plugin but is not for free

also Search Linked Issues for JIRA plugin is not for free

0 vote
Ignacio Pulgar Community Champion Mar 07, 2016

The function most similar to what you want is linkedIssues(issueKey,linkType). In example:

issue in linkedIssues(KEY-101,"is blocked by")

You might want to add a fixVersion or affectedVersion to this JQL.

It's a pity that the issue key is a mandatory parameter.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

76 views 0 5
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you