Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

count of linked issues

Jennifer Choban Marketplace Partner Jul 06, 2020

Hi Folks,

I'm looking for a way to put together a report that will list issues in a project and the number of linked issues (regardless of link type) that each one has.

Thanks in advance for any suggestions,

Jenny

2 answers

1 accepted

0 votes
Answer accepted

Hello Jennifer

If you have scriptrunner there you can use this JQL

issueFunction in linkedIssuesOf("Issuekey= ABC-123")

For the count of the issues, well a JQL only returns a list.

If you want the count you could consider a plugin called "counter gadget".

You save your JQL in a filter and call it from the gadget.

This gadget is very simple and it is free, and it has always been free so I hope the guys who developed it (Akeles) do not change their mind about it.

 

Sorry for giving a solution using 2 plugins, but I am not sure this can be done otherwise.

 

Good luck!

 

Mirco

Alternatively, you can also use JQL Booster Pack which comes with a bunch of JQL functions regarding issue relationship:

 

References:

 

Regards

You can also create a scripted field with a script to set the value of the field to the number of linked issues. You can then use that field in filter searches and results.

 

I'll leave the script as an exercize fo the reader. :)

Sadly, scripted fields do no work in dashboards in Jira cloud if anyone else is wondering. You'll have to update a normal custom field somehow.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
Community showcase
Published in Trello

🏊‍♀️ Atlympic Event: Trello

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

111 views 1 12
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