-
Type:
Suggestion
-
Resolution: Timed out
-
Component/s: Work Item - Backend - Worklog
-
4
Currently, when using Tempo Timesheets as the time tracking provider, the worklog author is "Tempo Timesheets". This affects several scenarios, for example:
- Using REST API to get the worklog author:
rest/api/3/issue/<issue-key>/worklog/<worklogID>Response:
... "displayName": "Tempo Timesheets" ...
- Using Automation 4 Jira to send email to initiator when work is logged:
Initiator is always resolved as "Tempo Timesheets" as well
It's possible to use the Tempo API:
- get Tempo Worklog Id by Jira Worklog Id (https://api.tempo.io/4/worklogs/jira-to-tempo)
- Get Tempo Worklog by its Id https://api.tempo.io/4/worklogs/ {id}
However, this approach has limitations, as for example "worklog_deleted" events can't be processed. It would be beneficial to retrieve the actual worklog author instead of the Tempo Timesheets account which is acting on behalf of the user.