Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

Service desk Rest API for issue transition is not working

Edited

I tried to change the status of a service desk  issue using issue transition API 
POST /rest/servicedeskapi/request/{issueIdOrKey}/transition


I referred the REST API documentation for service desk 
https://docs.atlassian.com/jira-servicedesk/REST/4.9.1/#servicedeskapi/request/{issueIdOrKey}/transition-performCustomerTransition

 but  showing me an error
{
"errorMessage": "You can not make this transition",
"i18nErrorMessage": {
"i18nKey": "sd.customer.transition.error.transition.unavailable",
"parameters": []
}
}

the user performed this action can  do the same through UI

2 answers

0 votes

Hello,

Any solution ? I got exactly the same error.

I don"t understand as i  follow the documentation.

Best Regards,

Hi @Akhila K Saju 

Most likely the user you are using don't have permission to transition the issue in its current state or you are using a wrong transitionId.

User has permission. The same user can do the same through UI.

Where can I find the transition id?
I took the transition id from the edit workflow option (as text format)Screenshot from 2020-06-18 18-50-59.png

From the screenshot you have provided, you should be able to transition the issue from Open -> Assigned to tester using id 11.

Can you paste you code?

Like Akhila K Saju likes this

Hi @Akhila K Saju , did you find a solution for this? 

Same question here, I am running into this problem as well.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

Next level incident management in Jira Service Management

Hello Atlassian Community! We’re thrilled to announce some exciting changes to incident management in Jira Service Management Cloud, in order to give your teams extra muscle during incidents, and ...

1,557 views 20 12
Read article

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