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!
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.
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.