Hi,
I've created a webhook for `user_created` event. Event excludes `emailAddress` from the body (value is "?") and this is expected, regarding to documentation. And I should call Rest API `GET /rest/api/2/user?accountId=XXX` with account id to get user detail with email.
However, API also returns `emailAddres` with value `"?"`, if I call API immediately when webhook comes. If I call API after timeout > 1s, email is present.
Do you have any ideas, why is this happening? And how can I workaround it? I don't want to have timeouts when webhook is processed.
Thank you,
Dmitrij
Hi @Dima T01 -- Welcome to the Atlassian Community!
In my experience, there are sometimes timing-related / racetrack error, behaviors when using the Jira events. This can definitely be seen when issue_created is raised, often before the data is available for use (e.g., in automation rules).
The workarounds are to delay or re-attempt the read to get the data. This is what I do in automation rules for the racetrack errors.
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.