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

REST API - Send email on user create

Chris K. August 31, 2015

According to the POST documentation for "/rest/api/2/user", it says "By default created user will not be notified with email." but doesn't give the parameter you're supposed to use if you do want the user to be notified. Any idea on what you're supposed to use? Thanks!

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

2 votes
Answer accepted
crf
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 31, 2015

The correct property to set seems to be notification: "true"

But yes, it's a shame that this isn't in the example.

Chris K. August 31, 2015

That was it! Thanks, Chris!

Fernando Boucquez (PPL) August 31, 2015

Does notification attribute work? I couldn't make it. I do get notifications when creating through ui..

P_D_ Foerster
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.
July 19, 2018

I know this question is old but I stumbled accross it today.

I can confirm that it works with Jira 7.9.2.

Here is my example:

{
"name": "j.doe",
"emailAddress": "jdoe@mycompany.com",
"displayName": "John Doe",
"applicationKeys": [
"jira-software"
],
"notification" : true
}
TAGS
AUG Leaders

Atlassian Community Events