Jira Session Destroyed Hook

I need to execute an operation when the current JIRA session is logged out.

How to achieve this with the help of event listeners…?
Shall I get any session destroyed hook…?


Can someone help me to find this please?

Hi, @eswarijayakumar27.

Just want to clarify the context, when you said

current JIRA session is logged out

do you mean the current logged in user logs out? If so, you can try to listen to one of UserEvent’s child LogoutEvent.


1 Like

Thanks @iragudo

LogoutEvent suits my scenario… But I need to use HttpSession Object in the Event Listener method of LogoutEvent

Do you have any idea on how to obtain current session id inside event listeners…?

Eswari J