Filter issues by 'is blocked by', 'blocks' and other link types

Monica Ross February 13, 2018

I'd love to be able to search for issues that are "blockers" or are "blocked by" some other issue.. 

 

I found an old post from 2012/2013 alluding to some plug ins ( Link here ) but am wondering if this is now able to be natively used without a plug in for Jira Cloud? 

 

 

4 answers

2 accepted

4 votes
Answer accepted
MW Felker November 7, 2019

Hey @Monica Ross @Brittany Wispell  @Adam Youngers  @Craig Brookhouse I think I found an elegant solution.

 

Link the Issue as a Blocker

Find the issue that you want to block and click the Link Issue button:

 

Screen Shot 2019-11-07 at 3.44.13 PM.png

Then search for the ticket that is blocking this ticket and link it as is blocked by:

Screen Shot 2019-11-07 at 3.46.01 PM.png

 

That will set the relationship. Next you will need to make a query on a scrum or kanban.

 

Kanban / Scrum Board Filter

Here you will need to go change the board settings. Loo in the upper right hand corner for the three dot menu when you are on a Kanban or Scrum board:

Screen Shot 2019-11-07 at 3.52.12 PM.png

For here, select Swimlane and make sure they are based on Queries. Here is what it will look like:


Screen Shot 2019-11-07 at 3.53.41 PM.png

Create a new query here with the following JQL filter:

issueBlocks in issueHistory()

 What this does is allows you to find any ticket that has been in the past or is currently set as a blocker. If you were to use this JQL statement in an issue search, you would see all the issues that have been or are blockers.

Screen Shot 2019-11-07 at 3.57.09 PM.png

 

On the board, if you are using sprints on a Scrum board, it should only show the issues that are set as blockers in the current sprint:

Screen Shot 2019-11-07 at 3.58.29 PM.png

Brittany Wispell
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 7, 2019

This looks good very elegant! Thanks for posting this answer! 

MW Felker November 8, 2019

Thank you! Anyways we could update this as a more accepted answer than above? I’ve been looking for this solution for some time but pretty much told “nope sorry can’t do it” 😎 I think the above works well.

Brittany Wispell
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 8, 2019

I agree 100%. Thank you again for posting this answer. 

MW Felker November 12, 2019

Thanks so much!!

0 votes
Answer accepted
Brittany Wispell
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 14, 2018

Hi @Monica Ross 

I do not believe this is natively possible, after doing a couple tests in my own instance. You could use something like ScriptRunner or JQL Search Extensions for Jira.

JQL Search Extensions for Jira will be your best solution IMO for your exact needs.

ScriptRunner has a lot more to offer than just the JQL Functions that might not be needed. 

Hopefully this helps!

Monica Ross February 15, 2018

thanks! 

3 votes
Adam Youngers June 20, 2019

I'm on a cloud based installation.  Would be great if this was natively supported.

1 vote
Craig Brookhouse October 30, 2018

What I have seen a team do is create as part of status definition "Blocked", and then you can run a query for status = Blocked, however that relies upon the team to change the status. 

Suggest an answer

Log in or Sign up to answer