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...
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.
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(
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
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.
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?
@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)
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 ...
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