I need all the work logs of all the projects. is there any way to get this by using work log API? what I have to pass to get the log of all users.
I tried to pass project=project-key but it was only showing a log of the project in which I was added , if i pass a different project-key in which i was not added, then it gives me this,
{
"self": "https://api.tempo.io/core/3/worklogs?project="project-key"&offset=0&limit=50",
"metadata": {
"count": 0,
"offset": 0,
"limit": 50
},
"results": []
}
In above API you can pass muitiple project key.
https://api.tempo.io/core/3/worklogs?project="AAA"&project="BBB"&project="CCC"
So you can find worklog of all users for all projects by passing all project key in API.
okay, thanks. @DPKJ but what if I'm not in project 'BBB'?
I'll not get the work log of that project.
I'm only getting work log for those project in which I'm added.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is permission issue, API will only allow you to read worklog of projects that your are part of.
You can try this API via admin to test if it return complete list of worklog.
Also try this user specific api, i.e.
https://api.tempo.io/core/3/worklogs/user/{accountId}
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.