Hi,
I would like to implement an automation where when a subtask is done, the timeSpent take all the time remaining from this subtask.
I have tried with this and it worked :
...
"add": {
"timeSpent" : "{{timeestimate.divide(60)}}m"
}..
The pbm is when the timeestimate is with 2 decimals, i have an error ... (invalid datetime)
ie : 0.13d (for 1hour)
I think that i missed a time conversion or others .. Any ideas ?
Thanks for your help
Would you please confirm what you are trying to do? Your description notes removing all of the remaining time, but your smart value references the time just logged.
Please check here to confirm your smart values: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/#--issue.timetracking--
Kind regards,
Bill
Hi @Bill Sheboy ,
I would like that when a sub-tasks is done, all the estimate time will be consume by automation (so add in the field time spent).
Thanks for your help
Kind regards,
François
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Given that, would it be better to use {{issue.timetracking.remainingestimate}} when subtracting all the remaining time?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
...
"add": {
"timeSpent" : "{{issue.timetracking.remainingestimate}}d"
}..
I have got the same problem using this. It doesn't worked for example with 0.13d (for 1hour) but it worked for example with 1d or 2d.
The error is : Invalid Duration entered (worklog_timeLogged))
It seems to have a conversion problem
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You may want to submit a ticket to Atlassian support to learn if this is a known issue, perhaps with a work-around: https://support.atlassian.com/contact/#/
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.