How do I find the total amount of story points completed for all issues under a given epic?

On my Kanban boards, under the Epic boxes, there is a bar that indicates the amount of story points completed for that epic based on the sizes and statuses of the Stories that belong to that Epic. That seems to be the only place that this information is available.

I would like to display this information in reports that I publish on JIRA Dashboards and on Confluence pages. I can not figure out how to write a query in JQL to retrieve or calculate these values. This would be very helpful in reporting progress of major components to stakeholders.

Can anyone provide insight in how to do this?

3 answers

Hi Michael,

You can use "Mathematical and date-time expression calculator" post-function (available with JIRA Workflow Toolbox plugin) for setting a number custom field in Epic issue with the total amount of points resolved. I show you how to do it:

In this example the number custom field to be set is called "Completed Story Points".

You should insert "Mathematical and date-time expression calculator" post-function in a transition of your Epic's workflow with the following configuration:

Captura de pantalla 2016-02-10 a las 11.19.10.png

Formula used is:

sum(fieldValue({11906}, filterByStatus(linkedIssues("is Epic of"), "Done, Completed, Resolved, Closed")))

Note that:

  • {11906} is field code for custom field "Story Points" in my particular JIRA instance. You should replace it with the correct one in yours.
  • I have considered issues in statuses "Done", "Completed", "Resolved" and "Closed" to add their story points to the sum. You should use the ones valid for your workflows.




You can also use the Plugin Epic Sum Up:

Best Regards,

Viktor Zech

You could use the Issue Filter Formula Gadget from our Great Gadgets add-on to calculate the sum of a field and display it on your dashboard.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 09, 2018 in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

391 views 6 0
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