Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira API create user not define password

Carla Reis
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 18, 2019

Hi,

We use the following link to create users "customers" on jira

https://developer.atlassian.com/cloud/jira/platform/rest/v3/?_ga=2.99585692.388684708.1550486328-803677865.1547035448#api-api-3-user-post

We are creating users by API into jira and the customers are actually getting created on the Service desk portal. The users only has access on site.

Capture.PNG

After every creation the added user receives an email 'join them now'. We would like to change this email for the user can 'set password'.

Is there possibly an automated way for this where we can set the initial password manually.

e.g.

{

  "emailAddress": "xpto.abc@mail.pt",

  "displayName": "Xpto Abc",

  "notification": "true"

}​

Thanks.

 

1 answer

0 votes
Raja Shekher Kammara
Contributor
February 18, 2019

Hi Carla Reis

All Cloud instances use the Atlassian IDs as logins now,

Only the holder of the email address would be able to set their own password.

If you want to control the user logins, then you can set up SAML Single On  for your instance. which enables you to submit control from Atlassian ID to your SAML provider.

Hope this Helps!

Warm Regards,

Raja

Maksym Kotenko
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 19, 2019

Hi @Raja Shekher Kammara,

Right, but after creating the user account by API (/rest/api/3/user), the user does not receive any information to set password for the first time. It only receives the email with the "Join Them Now" button and when accessing the page is requested the password, it does not have.

Why does the JIRA not propose to create the password? Something like the email with "Set Password" button.

We want to create users by API but users should be able to create their password without using "Reset password".

Thanks

Like Nik likes this

Suggest an answer

Log in or Sign up to answer