JetBrains / YouTrackSharp

.NET Standard 2.0 Library to access YouTrack API.
https://www.jetbrains.com/youtrack
Apache License 2.0
134 stars 105 forks source link

Extend properties: add `Created` & `Updated` for `TimeTracking.WorkItem` #58

Closed jrossgowan-pulsemining closed 6 years ago

jrossgowan-pulsemining commented 6 years ago

We are writing a small program with YouTrackSharp which migrates time tracking entries from YouTrack into an external system. I noticed the JSON returned from /rest/issue/issue id/timetracking/workitem has created and updated fields that reflect when each entry was added or modified. These would be pretty useful for us to avoid reimporting work items we have already seen and to identify updates to old work items, but they are not reflected in the .NET TimeTracking.WorkItem class. Could they be added? Any other missing created or updated fields would also be handy, though I understand that for Issues, they can be retrieved with the GetField() method.

Expected behavior

Actual behavior

Steps to reproduce the behavior

maartenba commented 6 years ago

Will be in the YouTrackSharp 3.1.0 release.