I am using the API to change a status of an issue.
If I run a transition change from In Progress to Done, it works, so does Open to In Progress.
But if I try to change from Open to Done, I will get the following 400 response:
"Can't move (SPO-835). You might not have permission, or the issue is missing required information. If you keep having this problem, contact your Jira Administrator."
If I try to change the status from Open to Done directly in JIRA, it will work.
Why is that happening?
Do you have any conditions, validators or transition properties set on the transition from open to done, that you do not have set on the other transition?
Are you using the same account in the gui and with the API?
Could be a number or reasons. Are you authenticating with the same user as you are performing this action in Jira? Can you show me what your request looks like?
Edit: forgot to look at question tags, so now know you use cloud :)
I'm having the same issue, I gave my user admin permissions and I can change the issue status via the UI, but using the same user via rest-API, I get :
"errorMessages":["Can't move (WEB-2328). You might not have permission, or the issue is missing required information. If you keep having this problem, contact your Jira Administrator."],"errors"
This is my curl:
curl --request POST \
--url 'https://centrica-bs.atlassian.net/rest/api/3/issue/WEB-2328/transitions' \
--user 'email@example.com:FuRUxfXXXXXXX5A3A3' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
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