Hello,
I would like to update time spent on issue with automation rule,
based on the issue status:
If the status is "In progress" time spent should be 50% from the original estimate
and if the status is Done - 100% of original estimate.
I've tried the following in advanced edit issue action:
{
"update": {
"worklog" : [
{
"add": {
"timeSpent" : "{{issue.fields.originalEstimate.divide(2)}}d"
}
}
]
}
}
and got this error: (Invalid time duration entered. (worklog_timeLogged))
Any idea how to use smart value/JSON for this use case?
Thanks