Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

User email adress

Tchatchoua Tchanko Christian September 7, 2023

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 "

Tempo Timesheets" is not a User, he doesn't have an email.
How can i get the correct user filled time on worklog please?

1 answer

0 votes
Tempo Support
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 7, 2023

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events