I want to reset the worklog to "0" in certain situations but am unable to find out how to do it.
Untill now I was able to add a certain amount of time, by the following:
{
"update": {
"worklog" : [
{
"add": {
"timeSpent" : "6m"
}
}
]
}
}but when I replace "add" by "set" and 6m by 0m it does not work.
Anyone out there how knows how to do it?
Thx in advance!