When getting worklogs made on a Cost Tracker Project via REST API (https://api.tempo.io/cost-tracker/1/projects/{projectId}/actuals/labor) the worklog has a "timeRecordId".
It is currently not possible to match this id to the Tempo worklog id that is returned by the "worklogs" REST API, making the mapping of the information returned very difficult.
It would be good to have an option to see which timeRecordId matches the tempoWorklogId.
Tempo Products | Tempo Timesheets, Cost Tracker for Tempo Timesheets |
Tempo Platform | Cloud |
It would be helpful to not only have the Cost Tracker Worklog -> Timesheet Worklog Connection with the Timesheets ID in the Cost Tracker Response, but also the other direction: Given I fetched some Worklogs from the Tempo Timesheets Endpoint and want to get the Cost Tracker time records for them (if present).
Maybe the Timesheets Endpoint /worklogs could return the ID of the Cost Tracker Worklog too if one exists and Cost Tracker is even installed.
If this is not possible, maybe the Cost Tracker API could have something like a /labor endpoint that takes a list of (Timesheets) Worklog IDs as query param and returns the matching Cost Tracker time records if there are any.