Hi,
I got some issues when setting up the automation for counting story points estimated in stories and tasks and viewing them in epics.
The custom field I use is 'Story point estimate' or customfield_10016 .
This is the code I wrote in the 'edit issue field' advances section:
{
"fields": {
"timetracking": {
"customfield_10016" : "{{lookupIssues.customfield_10016.sum.divide(60)}}"
}
}
}
I already tried replacing the "customfield_10016" with "Story point estimate" but that gives errors too. (error: Unrecognized field "customfield_10016")
Anyone any ideas? Thanks!
Gr,
Lotte
Hello @Lotte Pijnenburg
Welcome to the Atlassian community!
Are you working with a Team Managed project or a Company Managed project? That information will be shown at the bottom of the navigation pane on the left.
The built in custom field "Story points estimate" is used specifically for Team Managed projects. If you are working with a Company Managed project you should not be using that field.
I also see that you are trying to set the field as a child of the "timetracking" field. Story points are not part of the "timetracking" field, so that is another problem with your automation.
I also see that you are trying to sum up the field and then divide it by 60. Why?
This error message usually indicates that the specified field is not part of the issue you are trying to update. The method for correcting that depends on whether you are working with a Team Managed or Company Managed project.
Please show us the entire automation rule as sometimes such error are related to the context of the issue being referenced, which is a factor of how the rule is constructed.
Here is a post I answered with details of a rule for summing story points on child issues up to the parent Epic in a Company Managed project. You would need to update the Condition after the Trigger if you have multiple types of issues that can be children of Epics.
Thank you for your reaction!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I see the problem, I didn't use a capital letter somewhere. It now shows a value in my epic for story points field. But... It only shows '0' at the story points field in my Epic (also when I change the story points field in a task or story). Automation flow shows successfully tho
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, I already found the 'solution' --> epic link should be parent :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Great! I'm glad you figured it out!
If you are using a Team Managed project, though, you should be using the Story point estimate field in your Epic, Story, and Task issues. The reports that use story points and are available for a Team Managed project will be based on the data only for the Story point estimate field and can't be changed to reference another field.
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.
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.