Hi, i try to catch the payload of webhook:
{"timestamp":1694099770172,"webhookEvent":"worklog_created","worklog":{"self":"https://orchestrabyplanisware.atlassian.net/rest/api/2/issue/10378/worklog/10195","author":{"self":"https://orchestrabyplanisware.atlassian.net/rest/api/2/user?accountId=557058%3A295406f3-a1fc-4733-b906-dd15d021bd79","accountId":"557058:295406f3-a1fc-4733-b906-dd15d021bd79","avatarUrls":{"48x48":"https://secure.gravatar.com/avatar/182fc208a1a2e6cc41393ab6c9363d9c?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FTT-6.png","24x24":"https://secure.gravatar.com/avatar/182fc208a1a2e6cc41393ab6c9363d9c?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FTT-6.png","16x16":"https://secure.gravatar.com/avatar/182fc208a1a2e6cc41393ab6c9363d9c?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FTT-6.png","32x32":"https://secure.gravatar.com/avatar/182fc208a1a2e6cc41393ab6c9363d9c?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FTT-6.png"},"displayName":"Tempo Timesheets","active":true,"timeZone":"Europe/Paris","accountType":"app"},"updateAuthor":{"self":"https://orchestrabyplanisware.atlassian.net/rest/api/2/user?accountId=557058%3A295406f3-a1fc-4733-b906-dd15d021bd79","accountId":"557058:295406f3-a1fc-4733-b906-dd15d021bd79","avatarUrls":{"48x48":"https://secure.gravatar.com/avatar/182fc208a1a2e6cc41393ab6c9363d9c?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FTT-6.png","24x24":"https://secure.gravatar.com/avatar/182fc208a1a2e6cc41393ab6c9363d9c?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FTT-6.png","16x16":"https://secure.gravatar.com/avatar/182fc208a1a2e6cc41393ab6c9363d9c?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FTT-6.png","32x32":"https://secure.gravatar.com/avatar/182fc208a1a2e6cc41393ab6c9363d9c?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FTT-6.png"},"displayName":"Tempo Timesheets","active":true,"timeZone":"Europe/Paris","accountType":"app"},"comment":"time-tracking","created":"2023-09-07T17:16:10.172+0200","updated":"2023-09-07T17:16:10.172+0200","started":"2023-09-07T05:00:00.000+0200","timeSpent":"1h","timeSpentSeconds":3600,"id":"10195","issueId":"10378"}}
But i don't have the Email Adress of Author,
this "
Hi @Tchatchoua Tchanko Christian
It appears that the worklogs are created in Tempo in which is an expected behavior as per the KB https://tempo-io.atlassian.net/wiki/spaces/KB/pages/488931333/Why+do+the+Jira+worklogs+appear+with+the+author+Tempo+Timesheets+instead+of+the+user+s+name
You can use Tempo REST API to obtain the correct user and obtain their email address. For more information about Tempo REST API, please see https://apidocs.tempo.io/
Best regards,
Chih from Tempo Support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.