Hello!
Simple request to Jira REST Api (rest/api/2/issue/{issueKey}) returns all the worklogs including removed by the user.
Inside json from REST Api there is no sign of being removed, just:
"self":
"author":
"updateAuthor":
"created":
"updated":
"started":
"timeSpent":
"timeSpentSeconds":
"id":
"issueId":
Is there any way to get only "valid" worklogs? Or maybe there is some way to filter response json and separate deleted onces?
Hi,
You can use /rest/api/2/issue/{issueIdOrKey}/worklog API . It will give the valid worklogs only.
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.