Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

API changing status from Open to Done no permissions?

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?

3 answers

Hi benb@codeoasis.com,

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?

Don't see any validators for that, and yes I am using the same account, using it's API token for basic-auth.

Are there any screens on that transition?

0 votes

Hi benb@codeoasis.com

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? 

Kind regards
Jorden

Edit: forgot to look at question tags, so now know you use cloud :)

Hi benb@codeoasis.com 

Would like to know if this issue is resolved? I am facing the same problem.

Best regards,
Abhiram

 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 'builder@energy.com:FuRUxfXXXXXXX5A3A3' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"transition": {
"id": "41"
}
}'

 

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

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

Events near you