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

This widget could not be displayed.

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.

This widget could not be displayed.

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 Sign up to answer
Community showcase
Published Apr 22, 2018 in Jira Software

How-to setup a secured Jira Software 7.9.0 on Ubuntu 16.04.4 in less than 30 minutes

...PermissionsStartOnly=true User=www-data Group=www-data ExecStart=/opt/jira/bin/startup.sh ExecStop=/opt/jira/bin/shutdown.sh TimeoutStartSec=120 TimeoutStopSec=600 PrivateTmp=true [Install] WantedBy...

1,490 views 10 12
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