Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Send emails using Automation when new users are created

Commonly we need to notify certain people when new users are created in Jira. It’s possible to achieve it using WebHook and an automation rule, that will be detailed below.

Creating an automation rule

Go to > Project settings > Automation > Create rule

The rule will have the following structure:
Trigger: choose the option Incoming webhook. Automation for Jira will create a Webhook URL, similar to the one below:

Screen Shot 2022-09-06 at 12.31.09.png

And mark the option No issues from the webhook.

Copy the Webhook URL and create a new Webhook using it:

Go to System > Webhooks > +Create a WebHook

Paste the Webhook URL generated by the Automation rule on the URL field, mark the Created event option under User related events and hit Create:

Screen Shot 2022-09-06 at 12.32.34.png

Screen Shot 2022-09-06 at 12.33.34.png

Back to the Automation rule:
Actions: create a Send Web Request action like the example below:

Screen Shot 2022-09-06 at 12.34.26.png

The Web request URL should be: {{webhookData.user.self}}

Create another action to Send email:

Screen Shot 2022-09-06 at 12.35.22.png

This way, every time a new user is added to Jira, an automation notification can be sent to the relevant people.



Log in or Sign up to comment
Community showcase
Published in Jira Service Management

An unofficial way to monitor a JSM mail handler for errors

...eturns true if any content is returned for the s...

668 views 3 20
Read article

Atlassian Community Events