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!
Community moderators have prevented the ability to post new answers.
Hi @Dominique Hermens ,
Do you resolved it ?
I have the same issue.
i need to remplace a worklog with a new value.
I can only add a new worklog , i can't edit or set it.
regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi!
I have not tried this, and I believe you can do this by repeatedly calling the REST API with a web request to delete each entry, in an advanced branch, as Rilwan described below.
Here is an updated reference to the method and a how-to article for calling an API from a rule:
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.