Jira Server session empty for creating issue event

Hello,

Can you please help me with how to get the session when creating an issue?
I try to get it may ways (last one):

ActionContext.getSession().get("ASESSIONID")

And it’s not working for when creating an issue from the image (it’s empty):

Is there a way of getting the session from here?
I try to get it from inside the event listener:

@EventListener
    public void onIssueEvent(IssueEvent issueEvent) {}

Thank you very much!