Hello team,
I am trying to call Jira’s REST API from an async event handler. However the call is failing because the async event handler’s context of execution is apparently not authenticated. Can you help me resolve this issue ?
I just realised that api.asUser().requestJira() fires a request without the authorisation header. For instance api.asApp().requestJira() works out of the box.
Thanks anyway!