I am trying to update a User's status using the PATCH and the API endpoint - /rest/align/api/2/users/{userID}; however, I am having issues. I am following the instructions at this link:
I am getting a 400 error.
Hello @Samuel Homer
Does your organisation have Jira Align?
If so, what results did you get when you followed the step-by-step instructions on the HTTP Error 400 Bad Request on Jira Align page?
Hello @Sunny Ape ,
I actually do not believe we do, so that is likely why that endpoint is not working.
I also tried using this documentation: https://docs.atlassian.com/software/jira/docs/api/REST/8.5.15/#api/2/user-updateUser
to the endpoint PUT /rest/api/2/user but am getting a Status Code 405.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You seem to be very confused about which API endpoints are for which product and why. You have tagged your question as related to Jira Cloud, but you've provided a link to documentation for an old version of Jira SERVER. They are not the same thing.
For example, if you refer to the Users section of the Jira CLOUD v2 REST API docs, you'll see there is no such PUT endpoint for updating a User, as they are managed in a totally different manner in that product.
I suggest you start by liaising with your company's IT department to determine exactly what type of Jira product your company is using (I can't tell, as you've omitted the request path in your original questions and the screen grabs), then reference the correct documentation for it.
Have fun. Bye.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.