Hi everyone,
I've created an automation that takes a number value (from a custom field) in a sub-task and adds it to a field (also a numeric field) in the parent Story.
The automation shows 'Success' but the actual value in the story is None (instead of the numeric value from the trigger subtask).
I'd love to get some help here..thanks!
Hi @Alon Shoham
You are trying to copy the value from the trigger issue (subtask) to the parent issue, correct?
If so, you need to reference the trigger issue with:
{{triggerIssue.customfield_11028}}
If instead you are trying to sum the value for all children subtasks, rather than copy one, that would require a different value, using the parent to gather the subtask values:
{{issue.subtasks.customfield_11028.sum}}
Kind regards,
Bill
Wow Bill it's working !! Thank you so much!
Such a tiny detail that took me hours to work on!
Thank again!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am glad to learn that it is working now!
This is a common symptom for rule writing, and something to remember is the meaning of {{issue}} depends on where you are in a rule...For example:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can easily troubleshoot the automation rule execution if you place "Log" actions (multiple!) between the actual action. You can use those to print smart values to your log. Then you check the log messages of your last execution.
It should help to find the root cause here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks! If I understand correctly there is a way to see the specific reason for the failure?
Where should I put "log"?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
See item 1 and 2 in this page: https://support.atlassian.com/cloud-automation/docs/debug-an-automation-rule/
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.