The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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 Champions.
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

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events