I currently want to sum up one of my fields named "Final story points" from tasks split from the story. So basically I want the field "Final story points" in the story issue to sum all "Final story points" assigned to the tasks split from the story issue automatically.
Hello @Darby Kim
Welcome to the Atlassian community.
You could do that with an Automation Rule.
https://support.atlassian.com/cloud-automation/docs/jira-cloud-automation/
Have you worked with Automation Rules before?
Jira Administrators can create Automation Rules. Often they also grant that permission to Project Administrators.
Automation rules are triggered by events, such as Issue Create, or they can be triggered manually by a user, or they can be triggered on a Schedule. In this case there are at least two, and possibly more, events that might prompt you to want to recalculate the sum.
- When an issue is split
- When a Final story point value is changed
Also, the relationship between an issue and Splits created from it is just a generic issue link relationship of split-from/split-to. Your user could create such a relationship between two issues without actually executing the Split function. They could also remove the established link between two such issues.
So that is four events so far that might prompt you to want to recalculate the sum.
It is also possible that one issue could be split, and then one of the issues created from that split could be split again. This could create multiple levels of split issues. Does that happen in your environment? Would that have to be considered in your case - rolling up the sum through multiple levels?
I have worked with automation rules before but extremely minimally.
I am not working with a situation that has multiple levels of split issues. It is a pretty standard situation with a story with a few tasks split from the story. I'm not sure if I set up the field incorrectly or the automation but here is what I have for the automation right now but it is not calculating the sum on the story.
I found this automation rule in another Atlassian Community post and adjusted to my particular set up.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The rule doesn't need to be that complicated.
In my example you would replace Story Points with Final story points
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I inputted exactly this replacing "Story Points" with "Final story points" but it is still not working. Could something be wrong with the "Final story points" field set up?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please show us the rule you created, and the details of each step.
Also please show us the details of the issue where you changed the Final story points value. Show us enough of the image to show us the Final story points field in that issue, and the Linked Issues section showing that it has the "split from" link to another issue.
Also please provide a screen image showing the Audit Log output for the execution of the rule.
What type of custom field is "Final story points"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Darby Kim -- Welcome to the Atlassian Community!
Yes, and...to Trudy's suggestions:
Are you using a company-managed or a team-managed project? You may find that in the list of projects or at the bottom-left of the page expanding area.
Company-managed projects use the "Story points" smart value, and team-managed ones use the "Story point estimate" one. Please update your rule, as needed, to sum the correct value.
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Trudy Claspill @Bill Sheboy
The custom field "Final story points" is the type where you assign a number to the field and I am using a team-managed project.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Darby Kim
What is the Scope defined on the Rule Details page and if it is a single project or multiple projects then what projects have you specified as being within scope?
In this step you have a syntax error. You are missing a double quote after the right-curly-braces here.
For this rule to run, you would need to Edit the Final story points field in issues TDB-10, TDB-13, or TDB-16.
In the Audit Log you can see that there are entries that show a status of No Actions Performed. That means the rule was triggered but there was some condition or branch in the rule where the triggering issue didn't match the condition. You can click on the Show more link to the right of those entries to reveal more details. When we ask for the details of the Audit Log for the rule execution, we want those Show more details.
(The status CONFIG CHANGED is an entry for when you have made some change to the rule. Besides No Actions Performed, for entries that are generated by the rule getting triggered you might see statuses such as Success, or Some Errors, or Failed. Refer to this document for more information on the Audit Log.
https://support.atlassian.com/cloud-automation/docs/what-is-the-automation-audit-log/)
After correcting the error in the Lookup Issues action, please make a change to just one of the three issues created from the Split process. Then go to the rule's Audit Log and look for the entry for the execution of the rule and share with us the Show more details.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Darby Kim
Welcome to the Atlassian Community!
If you prefer using a marketplace app, you can try Sum Up Reports for Jira app developed by our team. This app provides various table reports based on the fields you choose. For your case, you can create a report that sums up "Final story points" grouped by Parent.
App Features:
Here is our live demo dashboard where you can see and modify any sample report and play with it.
For further details, you can have a look at Sum Up and Average Reports in Jira Dashboards article.
If you have any questions, feel free to schedule a demo with us.
Hope it helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.