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?

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

Regards,

Fidel

 

You can also use the Plugin Epic Sum Up:
https://marketplace.atlassian.com/plugins/aptis.plugins.epicSumUp

Best Regards,

Viktor Zech

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

101 views 3 4
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