How can I make a field (i.e. epic link) a statistic type option in a gadget?

I would like to have a pie chart gadget based on "epic link" field. It does not display in the drop down. How can I get it to be in the drop down?

2 answers

1 accepted

0 votes

Many gadgets require "stattable fields" - that is, they're unique, countable objects, so you can say "here's 4 X, 5 Y and 3 Z"

Epic links are not like that. There's an open-ended list of Epics that might occur, not a fixed list, and the links are all unique. That is, if you try to count Epics, you'll only ever get "1" as a result, and if you try to count links into them, you're going to get a random, open-ended range of numbers.

So you won't get it in the drop-down, because it doesn't make sense in terms of what they do.

Also I'd need the required topic. What about to adapt the gadgets to other kind of group type? I mean not limited just to the "stattable fields" but to extend with the "relation fields", as well.

I find very useful to show a pie containing the tickets of a given filter, but grouped by the epic to whom they belongs. Another sample use case is to group by the parent tickets to whom they belong, s.o. Also the two dimensional gadget could be extended as well.

Basically the concept is the same. Let's suppose I have a filter which provides tickets with "open" and "closed" status only. It is the same as saying the tickets are related to "open" and "closed" status. Who cares how many status items are in total ? Only these two are relevant. The same situation would be if my filter provides only tickets linked to E1 and E2 epics only. Who cares how many epics are in total ? Only these two are relevant. I want to see the count of E1 and E2 tickets. It's the same to see the count of the "open" and "closed" tickets.

Would it be difficult to implement ?

That's the point - Status is "stattable", you can count items.  You can build pie charts with open and closed.

0 votes

The field Epic Link does have discrete values, potentially quite a few, but no more than Labels which are stattable. I think that it would be very useful to be able to see those values in gadgets. The feature request is at https://jira.atlassian.com/browse/JRA-35903

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 ...

924 views 5 18
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