Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Service desk Rest API for issue transition is not working

Akhila K Saju June 18, 2020

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

3 answers

1 vote
optop
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 19, 2024

I hit this, but it worked for me once I edited the workflow to make the transition available in the Customer Portal by following the answer at https://community.atlassian.com/t5/Jira-questions/How-to-allow-Service-Desk-Customer-to-transition-status-via-the/qaq-p/1381927.

0 votes
Dimitri Bockler
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 26, 2021

Hello,

Any solution ? I got exactly the same error.

I don"t understand as i  follow the documentation.

Best Regards,

0 votes
Mathis Hellensberg
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 18, 2020

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.

Akhila K Saju June 18, 2020

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

Mathis Hellensberg
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 18, 2020

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
Akhila K Saju June 18, 2020

IMG_20200618_203826.jpgScreenshot from 2020-06-18 20-40-50.png

Anuj M Kachapati June 11, 2021

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

Charles Morgan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 17, 2021

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events