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

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.

1 comment

dei May 20, 2024

@André Sinatora Does this automation also work if a portal-only customer created himself in Jira Service Management? I tried but it doesn't work. I'd like to receive an email if a new portal only customer exists.
What's behind the red line in the "Send Web Request" -> Authorization -> Basic ..... ?

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events