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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

70 views 0 5
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