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

Visualize blocked issues

I use issue linking to handle dependancies between issues and would like to visulize if an issue is blocked in the backlog and kanban. Is this possible?

It does't really matter how I just would like to see and mabye (this is a bonus) filter out blocked issues.

I have searched but can not find any good solutions to this issue. I took a quick look at the ScriptRunner add on, but it felt overly complicated to solve something like this, I would expect this to be part of the standard product... 

4 answers

1 accepted

5 votes
Answer accepted

Edit made 19 March 2019: 

With the release of Jira 8.0.0, you can now search JQL for linktypes natively, without the need for a 3rd party plugin.   Details on this usage can be found in Advanced Searching - Fields - Issue link type.  This new feature is also noted in the Jira 8 release notes.

 

Original response:

Hi Andreas,

I understand you are looking to find a way to visualize blocked issues in your JIRA instance.  

Unfortunately, the native functions in JIRA's Advanced Search functions do not presently have a way to do this.  That link explains there is a linkedissues() function, but that it requires an issuekey to return any results.   There is not presently a way to show all the issues that have a link of type block natively in JIRA.

As you noted, if you were using the scriptrunner plugin with JIRA, then you could create a JQL filter such as

 

issueFunction in hasLinks("blocks")

 

Which you could then use to create a quick filter on an existing board to quickly show that information.  This is documented in Scriptrunner Scripted Functions

Sorry there is not a better native solution in JIRA at this time.  However there is a existing feature request in JIRA to add this kind of functionality natively, I would recommend watching and voting on https://jira.atlassian.com/browse/JRASERVER-25640

Ok, thanks for the clarification, I will vote on the issue

yet another request that has been open for 7+ years

Like # people like this

Really?  There is no simple Quick Filter that shows stories in Blocked status?

Like # people like this

Quite ridiculous. I'd say.

Hi Atlassian,

 

Has there been any update on how to identify linked issues?  When we do the export it shows all blocked issues if open or closed and we only want the open blockers.

 

Please confirm if there are any solutions or plugins to address.

 

Thanks,

David

Andy Heinzer Atlassian Team Mar 19, 2019

As of Jira 8, you can do this natively now.  You can see that the linked suggestion ticket I referred to has been updated to indicate this in JRASERVER-25640

There are more complete details of how to use this in the reference document of JQL advanced searching: Fields: issueLinkType.  In Jira 8 and higher versions you can now use a syntax such as

issueLinkType = blocks

in order to find issues via JQL that have a linktype of blocks.

Like Anders Dyhrberg likes this

One of the cool features in ScriptRunner was the ability to check the resolution on the ticket that is linked.

So you could query: project = TPS and issueFunction in linkedIssuesOf("resolution = Unresolved" , "is blocked by") which would show you issues that you have that are blocked, by an Unresolved issue. That way items would fall off the list as the linked issue that was blocking got resolved. 

Thus you could infer that your issues, that was once blocked, is no longer blocked anymore. 

Is there a way to do that with the new implementation of issueLinktype? 


 

@Andy Heinzer - Will this be available on Cloud version soon?

Like Ed MacDonald likes this
Andy Heinzer Atlassian Team Apr 02, 2019

@James Alvir I don't have a clear time table on if or when this might come to Jira Cloud.  There is a corresponding Jira Cloud feature request for this that is still open in JRACLOUD-25640 I would recommend watching that ticket for any updates to this.

Should this feature be implemented into Jira Cloud, I would fully expect that ticket to be updated to reflect this.

If you don't want to go through scripting, it is not hard to do by exporting the data to spread sheet. Not good for all uses but good enough for some.

1) Use the standard search in Jira to find bugs

2) On the column selection for the result add "Links"

3) Export to csv, current columns

4) Open in spreadsheet

5) The links will be expanded into multiple columns

6) The first link column is: Outward issue link (Blocks)

Is there a way to highlight blocker issues in a Spring Board, so that they're distinguishable visually?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

The add-in you’ve been waiting for: Jira Cloud for Excel 🙌

Introducing Jira Cloud for Excel Here at the product integrations team at Atlassian, we are thrilled to announce the new Jira Cloud for Excel add-in! This add-in lets you export Jira data directly ...

864 views 6 24
Read article

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