Counting sub-tasks and records updated in JIRA

Manager wants to count the number of sub-tasks within each JIRA within a report or JQL.  How is that best done?

There are issues recorded, example: DFX-123 is one task.  There are daily data fixes until the issue is resolved, so sub-tasks are recorded under DFX-123 as: DFX-124 where 23 records were updated, DFX-125 where 45 records were updated the following day, DFX-126 where 10 records were updated the day after, etc.

The same would follow for similar issues: DFX-456, DFX-567, etc.

What is the best way to generate a report where, by issue, you can see what is affecting the most records and prioritize by such?

1 answer

0 vote
Boris Berenberg Community Champion Jun 18, 2015

You can't do this out of the box. Maybe using a reporting add-on like https://marketplace.atlassian.com/plugins/com.eazybi.jira.plugins.eazybi-JIRA ? Or you could write your own custom SQL queries to pull this data from the DB.

Please provide an example of how to pull this using Custom SQL from the DB.

At a glance, I don't see how the reporting add-on helps in this case.

Boris Berenberg Community Champion Jun 18, 2015

You would need to pull issues from the jiraissue table. Then link children to parents using the jira_subtask_link link type from the issuelink table. Then combine this with the customfield and customfieldvalue tables to count the number of records being updated. The reporting add-on is very complex, and powerful, and may be able to do this kind of number crunching for you without writing SQL, though I have never used it and can't be sure.

Would Confluence possibly be able to do any of this? 

He wants what most higher management wants, a nice report to look at for decision-making.

I find the BI lacking (in general) for Agile especially.

Boris Berenberg Community Champion Jun 19, 2015

If you do it in SQL, you could then use the SQL macro in Confluence to present the data there. Like I said, if you want to extend your reporting and BI functionality in JIRA, I believe that EazyBI is your best bet.

@Cynthia Newlin. Hi I hope you don't mind me contacting you directly but did you manage to resolve this. I am in need of the same and would like a solution. Are you using JIRA server or cloud

 

Thanks

 

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,249 views 14 20
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot