Hello,
I noted that in Jira cloud it´s not possible to view the total worklog or Σ Time Spent in a issue view.
I´m working on an automation for copy the sum of total hours logged in an issue to a custom field.
I´ve tried two types of custom field: Number and Text Field (single line).
The automation:

For copy the values of Σtime spent on the custom field i tried the following:
{{#=}}{{issue.subtasks.timeSpent.sum}}{{/}}
{{#=}}{{issue.childissue.timeSpent.sum}}{{/}}
{{#=}}{{issue.subtasks.timetracking.timeSpent.sum}}{{/}}
In all cases, the automation execute as successful, but both custom fields dont show anything.
any help?