JQL filter for Jira issues and its blocked issues

Eamyr Frost
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 7, 2023

Hello,

I have succeeded in showing Issues that blocks Issues in the JQL filter and am trying to add a column for the list of its blocked issues but the closes i could get is the "Links" column. Unfortunately, this column shows all of its linked issues (blocking, is blocked by, etc.)

For example: 

I have 4 Stories

HR-2: Story - Cat
HR-3: Story - Dog
HR-4: Story - Bird
HR-5: Story - Mouse

Story - Bird and Story - Mouse is blocking Story Dog (HR-3)
Story - Cat is blocking Story Mouse (HR-5)

Stories.PNG

You may have noticed in the picture that in the Links column, it also included HR-2: Story Cat which is not a blocked issue but rather a blocking issue. I do understand that it is the defined behaviour of the Links column but is there a way to show a blocking issue and only its blocked issue in the JQL filter view or a Jira Dashboard?

Thank you!

 

 

2 answers

1 vote
Hannes Obweger - JXL for Jira
Atlassian Partner
December 7, 2023

Hi @Eamyr Frost,

welcome to the community!

I don't think that this is natively possible in Jira; all I could think of is to use Jira Automation to write the relevant issue links into a separate text field, and then view this separate text field. 

This being said, if you're open to solutions from the Atlassian Marketplace, you'll find options there. E.g., your use case would be easy to solve using the app that my team and I are working on, JXL for Jira.

JXL is a full-fledged spreadsheet/table view for your issues that allows viewing, inline-editing, sorting, and filtering by all your issue fields much like you’d do in e.g. Excel or Google Sheets. In many cases, you can configure how exactly these fields should be displayed - and for issue links, you can chose the exact issue link types you want to see. This is how it looks in action:

issue-links-cell-content.gif

As you can see above, you can easily sort and filter by the blocked issues, and also use them across JXL's advanced features, such as support for (configurable) issue hierarchies, issue grouping by any issue field(s), sum-ups, or conditional formatting.

Any questions just let me know,

Best,

Hannes

0 votes
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 7, 2023

Hi @Eamyr Frost 

Welcome to the community.

This is expected behaviour. The issue HR-5 has a linked issue with link type blocking.

So the issue HR-5 is listed in the results, showing the column Links, will show all linked issues to HR-5.

Even if one or more of the issues doesn't comply to the JQL. If one of the issues does, all linked issues are shown.

The issuelinktype JQL uses in- and outbound linkType of the issue link type.

See: https://<your-domain>.atlassian.net/secure/admin/ViewLinkTypes!default.jspa

You can use JQL option -> linkType, this will allow you to specify the in- or outbound option of the iss

sue linkt type.

Eamyr Frost
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 7, 2023

Thanks Marc! I did change the Outward description of "blocks" to "blocking" and used it in the JQL above.

What i asked is if it is possible to show a blocking issue and only its blocked issue in the JQL filter view or a Jira Dashboard.

Thanks!

Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 8, 2023

Hi @Eamyr Frost 

No this can't be done without a marketplace app, as you are no able to filter out values from the field "Links"

The link field provides the linked issues related to the found issues via JQL statements.

If any of the linked issues match the field will still show all linked issues.

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events