It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Creating user with rest API, password doesnt work

Equipe NOC Jul 05, 2017

Hi,

I created a user by REST API and i passed the username, name, e-mail and password.

The user has been created OK, but when i try to login, give me an error that the password is wrong.

Somebody can help me ?

1 answer

0 votes
Dario Bonotto Atlassian Team Jul 06, 2017

Are you using JIRA Cloud or Server? 

Also, can you copy the REST request body? 

 

Thanks,
Dario

Equipe NOC Jul 06, 2017

Hi, i am using JIRA Cloud.

 

curl -i -X POST https://XXXXX.atlassian.net/rest/api/2/user -H'Content-type: application/json' -H'Accept: application/json' -uEMAIL:SENHA -d' { "emailAddress": "algumemail@gmail.com", "name": "XXXX", "password": "XXXX", "displayName": "XXXX XXXX"  }'

Dario Bonotto Atlassian Team Jul 06, 2017

If you use Cloud then this is expected. As written in the User management REST API changes in JIRA Cloud KB article for the rest/api/2/user endpoint:

"Passwords included in the request payload will always be ignored"

 

This is because the user accounts are now managed using Atlassian Accounts (id.atlassian.com).

 

 

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Jira Software

Early Access: If you use Jenkins and Jira Software Cloud, you need to read this!

The Jira Software Cloud Team has been busy working on a simple, secure, and reliable way to integrate your build and deployment information from Jenkins with Jira Software Cloud. This means you don’t...

282 views 0 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you