Widget that displays total count of related issues of an issue?

Pete P
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.
May 24, 2022

We have Incident tickets and display them on a dashboard list.  Is there any way to display a count of related issues as one of the columns in the list? 

It is rather unwieldly to display all the actual issue keys. A simple count is what is needed for quick evaluation.  Apps/plug-ins welcome if this functionality is not OOTB.  

3 answers

1 accepted

0 votes
Answer accepted
Payne
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.
May 24, 2022

If you have the ScriptRunner app, you can create a scripted field with code like the following and then include that field on a dashboard filtered list:

 

import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.jira.issue.link.IssueLinkManager
IssueLinkManager issueLinkManager = ComponentAccessor.getIssueLinkManager()
issueLinkManager.getOutwardLinks(issue.getId()).size()
jira.JPG
Pete P
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.
May 24, 2022

Thanks for prompt reply @Payne 

1 vote
Rahul_RVS_Support
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
June 2, 2022

Hi @Pete P 

You can try out our add-on

Agile Tools : Epic Tree, Links Tree, Time in Status & Worklogs

The app shows the child tasks / linked tasks count at each hierarchy level as shown below.
You can also generate insights such as:

- View the full Jira Issue Type hierarchy of Linked issues,
Portfolio/Advanced Roadmaps, Epics, and Subtasks up to 10 levels.

- % complete based on time spent and story points at each hierarchy level

- Sum up Time Spent, Org Estimate, Time Rmng, custom number
fields

Epic Hierarchy - CHildren.PNG

Pete P
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.
June 2, 2022

Thanks looks pretty impressive!

0 votes
Hannes Obweger - JXL for Jira
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
May 24, 2022

Update: JXL for Jira now features the number of linked issues as a special field.

Hi @Pete P

we are about to add the number of linked issues as a special field to JXL for Jira.

JXL is a full-fledged spreadsheet/table view for your issues that allows viewing (and, where it makes sense, inline-editing) all your issue fields, including a number of "special fields" that aren't natively available. The number of linked issues will become such a special field.

This means that you'll be able to sort, filter, and group by the number of linked issues, among many other things. You can then set up a JXL sheet as a "de-facto dashboard" (until we ship full support for dashboard widgets, which will also happen soon.)

This is how this looks in action for the "number of sprints" field, which is another special field that would be similar to the number of linked issues:

 number-of-sprints.gif

Could this be a good solution for you?

Best,

Hannes

Pete P
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.
May 24, 2022

Thanks @Hannes Obweger - JXL for Jira .  Looks really nice.  Please post when you have number of linked issues available.  Until then I'll try @Payne  suggestion below !

Hannes Obweger - JXL for Jira
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
May 31, 2022

Hi @Pete P

I hope this finds you well!

Pete, you'll be glad to hear that JXL now features

  • number of issue links (i.e., how many issue links exist from or to the given issue)
  • number of issues linked (i.e., how many distinct issues are linked to the given issue)

as special columns. As described above, you can now view, sort, filter, and group by these fields; just pick the one that fits your exact use case better (or use both).

Please let me know how you're doing, and don't hesitate to reach out for questions or feedback!

Best,

Hannes 

Like Pete P likes this
Pete P
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.
May 31, 2022

Thanks @Hannes Obweger - JXL for Jira  I will check it  out this week~

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.22.2
TAGS
AUG Leaders

Atlassian Community Events