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: 

Hi , I want to trigger an email to all the users getting created via rest API

shrikant maheshwari
June 11, 2021

Hi All,

I need to trigger a notification email to all the users who got created via rest API in JSD ? Could you please let me know is it possible to achieve this.?

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
PD Sheehan
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.
June 11, 2021

While you can run a scripted listener on "User Created Event" I don't think there is anything in that event or in the user object that can tell you whether or not the creation was done via the REST API, or via the UI, or via some other integration.

The only way would be to create your own REST Endpoint (different than the built-in ones) and use that endpoint for your REST integration so that you can trigger those emails.

TAGS
AUG Leaders

Atlassian Community Events