Hi,
I am trying to create an automation that will go through all the issues under the epic and gradually add values from the custom field from child issues to the newly created variable (via the Create variable option).
When: Manually triggered
Then: Create variable
Variable name* (required): sumoflevelzero
Smart value* (required): 0
--For: Children
--Then: Lookup issues
--JQL: "Parent" = {{issue.key}}
--And: Edit issue fields
--Advanced: {{#=}} {{sumoflevelzero}} + {{issue.customfield_10052}} {{/}}
//here the value in the smart variable should be increased by the value of the child issue
Then: Edit issue fields
Custom field: {{sumoflevelzero}}
Can anyone please tell me where I am wrong or what I should change? Thank you.