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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


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
Community Members
Community Events
Community Groups

How to track how many bugs were generated in a Story?


I'm trying to create a dashboard to track how many bugs have been logged per story.
I'm using a link type to link defects to stories.

Some JQL and gadget suggestion?

Thank you in advance.

3 answers

1 vote
Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 19, 2023

Hi @Jakeline 

I would use something like the following:

issue in linkedIssues("STORY_KEY") and issuetype = "defect"

This would produce the defects of the specific story. 

0 votes
Marlene Kegel - codefortynine
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
May 30, 2023

Hi @Jakeline,

I am Marlene from codefortynine.

Another option would be our app Dynamic Custom Fields for Jira.

With our app you can create a dynamic custom field which displays the number field of a specific type. Our app works with Jira expressions, but we offer a template for your use case.

After installation you simply

  • Navigate to the Dynamic Custom Fields config page
  • Select the template "Number of issues links of a specific type"
  • Edit the expression and exchange the link name "Blocks" with the name of the issue link that you're using to link defects to stories
  • Save
  • Add the newly created dynamic custom field as any other custom field to your issues

You can use the number field for JQL and issue statistics as any other Jira number field. 


If you need help editing the expression, feel free to reach out to us. 

Dynamic Custom Fields config page


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 23, 2023

I'm not aware of a built-in view for this, but if you're open to solutions from the Atlassian Marketplace, you'd find options there. E.g., this should be easy to do 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. It also comes with a number of advanced features, including support for (configurable) issue hierarchies; these can be created based on Jira's built-in parent/child relationships, or based on issue links. With this, you can build a view similar to this in just a couple of clicks:

This view is based on "relates to" issue links, but you can use any issue link type(s). As you can see above, the view remains fully interactive, meaning that you can work on your issues directly in JXL (but also trigger various operations in Jira, or export your data to CSV or Excel in just a click). Issue-link based hierarchies can also be combined with JXL's other advanced features, such as bulk editing via copy/paste, issue grouping by any issue field(s), sum-ups, or conditional formatting.

Any questions just let me know,



Suggest an answer

Log in or Sign up to answer