Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Event listeners best practices

Ashok Kumar Chava February 12, 2024

We have created an event listener that listens to task events like updates, status changes, attachments, etc. and we are processing these events in our code.

What is the best practice here, is recommended to have separate event listener per event type like for comment_updates one event listener and another event listener for other events.

 

please suggest.

1 answer

0 votes
AG
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 19, 2024

Hello @Ashok Kumar Chava 

It is recommended to use shared listeners for the events and kindly refer to the following document for further reference:

https://docs.adaptavist.com/sr4js/8.3.0/features/listeners/listeners-tutorial.

Please Accept and Vote my answer if it helps.

Thanks

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events