How to aggregate custom field values?
Asked by Naoki:

Hi,

I have created a request type with a custom field to record the work time on an issue.

I want to aggregate the numbers entered into the custom field by organizations.

What is the best way to do this?

For example, below I would like to display "60" which is the sum of "organization-A".

![??.png](https://community.atlassian.com/t5/image/serverpage/image-id/345463i7A3CE285AB3FA170/image-size/large?v=v2&px=999 "??.png")

Thanks.


Answers:
author: Fazila Ashraf
body: Hi [@Naoki](/t5/user/viewprofilepage/user-id/5451340)

Not possible in the issue navigator screen or out of the box without additional plugins.

Do you think it is worth effort to write an automation to fetch this value from all the context issues , sum up and display in the automation ?

Or you can simply export this to excel and perform the sum operation externally.

BTW, not sure why you chose a custom field but Jira has the timespent system field to capture logged work. If you have already analysed that and decided this approach for a reason, then ok :)

comments: author: Naoki
body: Hi [@Fazila Ashraf](/t5/user/viewprofilepage/user-id/538419)

Thank you for the response.

I understand that not possible without plug-ins.

I would like to consider introducing some kind of plugin.

> Do you think it is worth effort to write an automation to fetch this value from all the context issues , sum up and display in the automation ?

YES! It is very valuable to me.

If you know how to do this, could you please let me know?

> BTW, not sure why you chose a custom field but Jira has the timespent system field to capture logged work.

My client is using JSM and want to manage with JSM only.

I would like to tell my client that Jira is valid.


author: Fazila Ashraf
body: The automation could be built something along the lines of this answer -\> <https://community.atlassian.com/t5/Jira-Work-Management-Questions/Help-Needed-Automation-Rule-to-Sum-Child-Issues-Fields-and/qaq-p/2707447>

The log work feature is available in JSM as well. Check <https://support.atlassian.com/jira-service-management-cloud/docs/log-time-on-an-issue/>


author: Naoki
body: Thanks for the more detailed info.  
I will check the contents and deploy customers.


author: Marlene Kegel - codefortynine
body: Hello [@Naoki](/t5/user/viewprofilepage/user-id/5451340),

I am Marlene, product manager of [Quick Filters for Jira Dashboards.](https://community.atlassian.com/t5/Jira-questions/How-to-aggregate-custom-field-values/qaq-p/2802669)

Your use case is possible with our Jira cloud app. You could sum-up your custom field using the "Quick Issue Statistics" gadget. After you've installed our app, you simply

* Add the "Quick Two Dimensional Filer Statistics" to your dashboard
* Select "Organizations" as field
* Select your custom field "production time" as "Value Shown"

You can [check out Quick Filters for Jira Dashboards without installation](https://codefortynine-demo.atlassian.net/jira/dashboards?utm_source=atlassian&utm_medium=referral&utm_campaign=quickj-new-reach-com-2802669) on our demo dashboards.

![quick-filters-jira-dashboards_issue-statistics_organization-custom-number-field.png](https://community.atlassian.com/t5/image/serverpage/image-id/346812i9BB65FCA8AC0BE5A/image-size/large?v=v2&px=999 "quick-filters-jira-dashboards_issue-statistics_organization-custom-number-field.png")


author: Marc - Devoteam
body: Hi [@Naoki](/t5/user/viewprofilepage/user-id/5451340)

This is not possible ootb, you will require an app for this.

Apps like sum-up or custom charts can assist your.

Create a dashbaord in Jira and add the required gadget.

Also the BTW notice from [@Fazila Ashraf](/t5/user/viewprofilepage/user-id/538419) is correct. Jira has time tracking ootb why use a separate CF?

comments: author: Naoki
body: Hi [@Marc - Devoteam](/t5/user/viewprofilepage/user-id/3796976)

Thank you for your help in suggesting specific plug-ins.


Tags: cloud

jira-service-management

jira-service-management-cloud