Hi,
I have an Event Listener that triggers a PUT REST API to one of the installed plugins. Here, I need to access the 'JSESSIONID' cookie from the request and pass it on as part of Headers for Authorisation.
First thing I don't get is, if the event is being triggered from Confluence Application and calling an internal REST API, why would we need an Authorisation at all.
Well, as we need it, I am not able to get hold of the request in the Event Listener as it accepts only one parameter (Actual Event) and ServletActionContext.getRequest() returns null.