Using Automation for JIRA....
When a user submits a work log for a child story, I'd like to update the parent epic's remaining estimate (remaining estimate = remaining estimate - work log). I'm a little stuck with the syntax of setting the remaining estimate when the timetracking is a related object to the issue not a first class property.
{
"update": {
"fields": {
"timetracking": {
"remainingEstimate": "{{issue.fields.timetracking.remainingEstimate}} -
{{worklog}}???"
}
}
}