Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira Cloud - Get all worklogs from all user in a time range through rest api

IT January 10, 2019

Hi,

I´m having difficulties to get all the worklogs from all users in a time range. Can someone help me to do that using rest api?

1 answer

0 votes
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 10, 2019

Hello Sigga,

Welcome to Atlassian Community!

Please, check the documentation below to know how you can get all the work logs from issues using REST API:

Get Issue Worklogs

Once it is exported, you can filter in an external application by the started and Updated parameter which time range is relevant to you.

Let me know if this information helps.

IT January 14, 2019

Hi Petterson,

thanks for the reply. Do you have some example to share? I´m asking you this because when I use the examples in the documentation I only get some pieces of information, what a need is the number of hours worked by users individually, separated by project, and issues. Until now a could not get this information with that detail level.

Could you help me?

 

Thanks again 

IT January 14, 2019

Let me bring some more information. This is the query that I'm using:

rest/api/latest/search?maxResults=100&jql=updated>=2019-01-1andupdated<=2019-01-10&fields=worklog

however i'm getting worklogs from outside de time range:

"created": "2018-12-14T13:40:10.520-0200",
"updated": "2018-12-14T13:40:10.520-0200",
"started": "2018-12-14T12:00:00.000-0200",

I need to bring only the worklogs from the time range on the query. 

Glad for any help.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events