How to make aggregation in Jira ?

Hi,

In JIRA, i need to aggregate dimensions and to apply specific methods to measures (which is not curently supported by the commercial add-on Report ). For example, i want to display all my project and the time spent on these projects. The time spent should be the sum of the time spent on each issues of the project.

 

According to me there is two ways of doing it:

                 _ the first is to fetch the lists of all issues and to perform the aggregation on the server (which is clearly not the best idea because Jira simply isn't designed for massive data dumps).

                 _ the second is to use OfBizDelegator to get a Connection in order to perform a sql request . (with a group by clause). But this seems decried by some develpers.

So my question is : what methods should i pick ?

 

Thanks in advance.

 

2 answers

1 votes
Ignacio Pulgar Community Champion Jul 26, 2016

You might want to have a look at these addons:

  • EazyBI
  • Time Reports

 

There are more add-ons as that as well. But JIRA will not provide you with aggregation tools. See this past answer: https://answers.atlassian.com/questions/88372

Thank you for your answer, now i get it. JIRA don't propose aggregation tools or anything close to a group by clause. Still it's bothering me, why not ? It's a really common fonctionality. I searched around and could not find any satisfying answer. Do you have any idea why?

 

Thanks in advance.

I don't actually know. If I was to guess then I would say: performance reasons. I imagine doing aggregations is hard to make efficient.

This is a question better directed at the JIRA team.

You should be able to do this with the Better Excel Plugin:

  1. Dump the data to a worksheet and use pivot tables for aggregation (and let Excel do the heavy lifting)
  2. Consider using pivot charts to visualize the aggregation
  3. If you wanted to get the input data directly from the database, instead of accessing issue fields, then write a Groovy script that connects to the database, run your query and convert the result set to Excel cells

You have insane flexibility with these techniques:

4783ad58-c36e-4b3e-8d3b-ce241f724ded.png



 

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

499 views 1 15
Read article

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