Post function to add users to jira is using Rest Api not working in Jira cloud

Hi All,


I am writing a post function to add JIRA user through Rest api to cloud environment.


The user is not getting added. Will the rest api work in cloud environment?


Its bit urgent please van any one give the answer ?




1 answer

0 votes

REST works fine on Cloud, so it must be something in your code.  What are you doing and what is the error?


I am trying to create a user and the same code works for my jira server but when tried to do the same on cloud instance it fails with "internal server error" , I am using name,password,emailAddress,displayName , am i missing something

I don't know. What's the difference between Cloud and your server?

{"errorMessages":["Cannot add user. 'charlie1' does not exist"],"errors":{}} i am getting this error. I dont know how to proceed

That's telling you that a user called charlie1 is not present on Cloud. Check your used ids. Also, you haven't explained *what* you're trying to do, or how.

I corrected it. Now its working. Thanks Nic :)

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,754 views 11 18
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot