Jira cloud API Failing on Free active version

esterday We have created free jira core instance… We tried to consume User related api’s like create user, update user, delete user and get user.

Those was working yesterday…

But today for same instance and same API’s it’s giving 500 internal server error.

We are reffering these api’s

https://docs.atlassian.com/jira/REST/cloud/#api/2/user-createUser

https://docs.atlassian.com/jira/REST/cloud/#api/2/user-updateUser

https://docs.atlassian.com/jira/REST/cloud/#api/2/user-removeUser

https://docs.atlassian.com/jira/REST/cloud/#api/2/user-getUser

Only get user api is working today…

This issue is happening from 19th June 2017…

Please let me know how to resolve this issue… Your help will be great for us…

Thanks

Varsha

Hi @varsha.mane,

Can you provide more details? What authentication method are you using?

I was unable to reproduce any problems with the user APIs.

Dave

1 Like

Hi Dmeyer

I am using basic authentication and user name and password is site admin.

We have issue on free version of jira core. Api’s are working only on day account is created and on next day its failing for create,update & delete user. This is happening from last Friday. Before it was working fine…

Thanks
Varsha

Hi Varsha,

Does this only affect the user APIs or all API requests? Please see this comment: [JRACLOUD-66793] HTTP basic authentication to rest/auth/1/session fails with 401 error for email addresses on instances with Atlassian account - Create and track feature requests for Atlassian products.

Hi Dmeyer

I have checked comment on provided link…
In our case it’s failing with both admin username and email address using Basic authentication…

Till yesterday it was working with user and group GET request and failing for create,delete and update…
But Today create,delete and get requests are working… only Update user is getting failed on same instance.

Thanks
Varsha

Hi @varsha.mane,

If you continue to see problems, I recommend create a ticket in the developer support desk, so we can investigate this further. Jira Service Management

Hi Dmeyer

Sure will raise ticket if I continue to see problems…

Thanks
Varsha

Hi Dmeyer

I have raised update user issue on service desk as failing today as well…

Also want to know that as Create, update, delete user are Experimental methods, so it will change without notice. So change will be in only internal logic or change will be in request and response parameter as well…

As we are expecting that we will have same request and response as mentioned in jira cloud document.

https://docs.atlassian.com/jira/REST/cloud/#api/2/user-createUser

https://docs.atlassian.com/jira/REST/cloud/#api/2/user-createUser

https://docs.atlassian.com/jira/REST/cloud/#api/2/user-updateUser

https://docs.atlassian.com/jira/REST/cloud/#api/2/user-removeUser

Thanks
Varsha

Changes were made to JIRA Cloud user APIs in Novmeber 2016, you said that the requests were failing with error code 500, but could these be affecting you? User management REST API changes in JIRA Cloud | Jira | Atlassian Documentation

Hello Dmeyer

We were getting failure of User Create,Update and Update from last 2 weeks…
Getting unstable results, sometimes all 3 fails, now only update user getting failed and in create user not getting email address in response body…

Yes, these failures are affecting our application as we are integrating these api’s in our application…
So just want to know how long will it be experimental (Create,Update and Delete user.)

Thanks
Varsha

Hi @varsha.mane,

As explained in the knowledge base article I linked to above, Atlassian has moved all our Cloud services to a shared identity system called Atlassian account. Therefore JIRA does not directly “own” user accounts, and it is highly unlikely we will ever provide a fully supported “JIRA” API for managing users. As noted in the last question in the article, we are evaluating how best to expose Atlassian account capabilities to add-ons and integrations looking to interact with users in Atlassian applications.

Hi Dmeyer

Thanks for this information.
Today we are failing for all User and Group Api’s for CRUD operations with 401 Unauthorized error…
For authentication we are using Basic authentication and we have tried to use sysadmin’s username and also tried with sysadmin’s email ID…

So how to resolve this? When will have fixes on this…Please update on this ASAP…

Thanks
Varsha

Hi Dmeyer

As you mentioned, it is highly unlikely we will ever provide a fully supported “JIRA” API for managing users.

As per knowledge base article,
What options do I have for managing Atlassian accounts themselves via API?
Atlassian accounts cannot be managed via public APIs today. We are currently evaluating how best to expose these capabilities in a secure manner that best meets our customers’ use cases.

When will have stable Atlassian accounts API’s? What is expected date to have public apis for atlassian account As our application using Jira API’s for User and Group which are failing now , so we need Atlassian accounts API’s to handle users and groups get, create,update and delete operation…

Thanks
Varsha

Hi @varsha.mane,

We don’t have a timeline for this right now. I recommend you comment on this feature request: https://jira.atlassian.com/browse/ID-164

Hello Dmeyer

Thanks for reply.
I have added my comment on this feature request: [ID-164] JIRA User Management REST API - Create and track feature requests for Atlassian products.

If you have any update on these please update here…

Thanks
Varsha

Hi Dmeyer

One more issue we are facing that, while creating user we need to send notification email to user so we are passing notification:true in request body of create user. We are getting response successful to create user but in response we aren’t getting email address…
If we remove notification parameter then we are getting email address in response…
Please help us as these are blocking issues for us…

Thanks
Varsha