No REST API Endpoint to get all timetrack entries
Hi all,
I've been trying to find out the API call I could use to retrieve all "time tracks" entries by all users for all projects.
Unsure if I didn't looked on the correct spot or this functionality really not part of current REST API collection?
What would then your suggestion be to achieve the desired result? I could probably connect directly to DB and execute specific queries, or is there another option?
Thank you for your feedback!
Please sign in to leave a comment.
Hi!
I'm Sergey from the YouTrack team.
I replied to you in your direct support ticket. Copying it here as well.
Time is logged via work items. So if you need to request all tracked time, you need to request work items as described in the doc: https://www.jetbrains.com/help/youtrack/devportal/resource-api-workItems.html#get_all-IssueWorkItem-method
YouTrack uses a NoSQL database, so all data should be retrieved via the REST API.
Hi Sergey Merzlov,
Thank you very much for your feedback. This is exactly what I need.
Kind regards,