You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
For better capacity planning we introduced the custom fields "FE-Estimates" and "BE-Estimates".
Both are numeric fields.
So now I want to sum all values from all stories into the same custom field within an Epic.
How can I do that?
I tried the following but it's not working
I just spent few hours trying to implement Bill Sheboy second proposal, and finally success! Hope this post will help someone to save time:
No rocket science, but you have to be very careful about parameter names and such.
Hi @Timur Khakimyanov -- Welcome to the Atlassian Community, and well done!
The part I find interesting about your web request, custom data is passing the entire {{lookupIsssues}} smart value rather than parsing the keys/id values out into a CSV list, such as: {{#lookupIssues}}{{key}}{{^last}},{{/}}{{/}}
Looks like your version works for you, and so meets the goal!
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You cannot sum values across all stories. The automation math functions work within an issue. So you can sum two numeric fields within an issue. You might need to look at some add-on for this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Andreas Safar -- Welcome to the Atlassian Community!
Yes, and...to what Jack noted: Are you using the Server or the Cloud version?
I note you are trying to sum custom field values with Lookup Issues.
Best regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your reply. We are using the cloud version.
In other threads I saw comments where the story points or time estimates are summed up in the appropriate fields of their epic. So I was hoping to do the same just with the custom fields. Something like this:
Story 1 has value '5' in custom field
Story 2 gets a '3' entered into the custom field
Both stories are linked to the same epic
-> custom field within the epic gets updated from '5' to '8'
and so on when the custom field is set/changed/removed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Andreas you cannot sum on custom fields with Lookup Issues in an automation rule, yet...
Two possible work-arounds are:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bill, thank you again for your support. I've voted for JRACLOUD-75018
I'll try to handle it with the proposed work-arounds.
Just for your reference in the meantime I've tried the following:
With the following rules the custom field on the parent issue is changing from NULL to 0
see the history:
I'm getting the same effect with
{{lookupIssues.customfield_10066.sum}}
{{Issues.customfield_10066.sum}}
{{lookupIssues.fields.customfield_10066.sum}}
{{Issues.fields.customfield_10066.sum}}
{{lookupIssues.subtasks.fields.customfield_10066.sum}}
where the following has no impact on the epic issue
{{Issues.subtasks.fields.customfield_10066.sum}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yup... {{issues}} (note the plural) is a Server version smart value used in conjunction with that batch/scheduled trigger I noted. It doesn't work for Cloud version.
The equivalent for Cloud version batch processing is Lookup Issues...and that feature does not support custom fields.
Please see the two work-around ideas I offered to see if one of those will work for you. Thanks!
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.