I am creating a tool for our HR department that extracts information about time tracking (workitems) from YouTrack's REST API.
Preferably I would like to make a query that lists all workitems in a given period (across projects) but that does not seem possible.
Therefore alternatively I would like to list all issues that have a registered workitem within a period of time.
The below query will return issues "for me" that have time registered (that is, Spent Time is not undefined).
/rest/issue?filter=for: me Spent time:-?
But how do I write a filter that limits the result to those issues with time registered between two dates?