Are listeners always called in the same thread?

Olivier Barthelemy July 22, 2021

I implemented a listener in a plugin (@EventListener method).

I am using a member variable of the listener class to store some data to exchange between submethods during the event handling.

So i would like to know if there is a guarantee that the listener will always be run in the same thread, or if not, in which case my class member vairable is unsafe because it could mix data of multiple issue if multiple issue events occur in parallel

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.5.3
TAGS
AUG Leaders

Atlassian Community Events