Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Event listeners best practices

__Ashok Kumar Chava
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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
Asha Goyal
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