Hello,
I have been looking at various posts about using automation to sum up fields into a parent issue, and I just can't get it to work and I am not sure why.
When the automation runs, it sums the parent to 0 regardless as to what I set the children to.
Is anyone able to advise as to what I am missing here?
Thanks in advance
My automation is as below:
Hi @Charlie Naylor , welcome to the Atlassian Community!
Try setting this smart value to {{lookupIssues.customfield_11286.sum}} (I assume this is the custom field ID for your Annual Voice reduction custom field?)
Hi Callum,
Thanks very much - I tried that too, and it doesn't complete either unfortunately. Anything else I can try?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've just tried this out myself and have replicated what you are seeing with the parent values being set to zero. It seems as though using 'parent' in the lookup will only work when using the 'Parent' branch type, and similarly using "Epic Link" in the lookup will only work with the 'Epic (Parent)' branch type. So:
If you are setting these points on a subtask and want to sum them to the parent issue, you will need to change your branch to just use Parent rather than Epic (parent).
If you are setting these points on a regular issue and want to sum them to the parent Epic, you will need to change your lookup JQL to use "Epic Link" = {{issue.key}}
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.
I'm running into the same issue, and no matter what I do, the custom_field in the parent also resets to 0.
I'm using {{#=}}{{lookupIssues.customfield_14478.sum|0}} + {{lookupIssues.customfield_14474.sum|0}}{{/}} as my lookup.
I am also using "For: Parent" in my branch, as I know Epic (Parent) is being deprecated.
Very frustrating as this seems so basic, yet failing to sum correctly.
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.
Thanks - I used a different approach that works but that's good to know
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.