Guys, I use cloud jira. It is only possible to use this change via rest api, when you register your domain within the jira cloud with your DNS server at the company.
Were you able to edit agents details through API cloud? I'd like to know how to do it if you were able to.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Kindly have a look at PUT /rest/api/2/user:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you provide the json you are sending.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
error 405 means that you are trying to execute the wrong method. make sure you send a PUT request, not GET or POST.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How do you send the PUT request?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you provide the request here?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have tried to PUT to https://{host}/rest/api/2/user?username=xyzzy
Request
\{
"name": "xyxxx",
"emailAddress":"xyxx@example.com",
"displayName": "displayname"
} ,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What is your Jira version?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah, you are on Cloud. I could not find PUT method for Cloud. I guess, you can not do it on Cloud
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey There Guys,
I am trying to run the below query but it's returning any result, no error. it's also not updating the data. any help would be highly appreciated.
curl -s -X PUT -u Toolsuser1:XXXX --data "emailAddress":"tomd@new-domain.com" https://myjiraurl/rest/api/2/user?username=testuser19
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.