Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,269
Community Members
 
Community Events
165
Community Groups

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

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

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

Thanks for prompt reply @Payne 

1 vote
Rahul_RVS_Support Marketplace Partner Jun 02, 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

Thanks looks pretty impressive!

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

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

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

Thanks @Hannes Obweger - Fine Software - JXL  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
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,840 views 37 48
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