The REST API to update the Sprint doesn't response at all. Any idea why?
https://developer.atlassian.com/cloud/jira/software/rest/#api-rest-agile-1-0-sprint-sprintId-put
C:\DevOps>curl --insecure -u "jironghu:jironghu" -X GET https://abc.com/rest/agile/latest/sprint/12145
{"id":12145,"self":"https://abc.com/rest/agile/1.0/sprint/12145","state":"future","name":"Lab 1 - Legacy Sprint","originBoardId":283,"goal":"Goal"}
C:\DevOps>curl --insecure --request POST --url "https://abc.com/rest/agile/latest/sprint/12145" --user "jironghu:jironghu" --header "Accept:application/json" --header 'Content-Type:application/json' --data '{"state":"active"}'
C:\DevOps>curl --insecure -u "jironghu:jironghu" -X GET https://abc.com/rest/agile/latest/sprint/12145
{"id":12145,"self":"https://abc.com/rest/agile/1.0/sprint/12145","state":"future","name":"Lab 1 - Legacy Sprint","originBoardId":283,"goal":"Goal"}
C:\DevOps>
Hi @Jirong Hu ,
Try this:
curl --insecure --request POST --url "https://abc.com/rest/agile/latest/sprint/12145" --user "jironghu:jironghu" --header "Accept:application/json" --header "Content-Type:application/json" --data "{\"state\":\"active\"}"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.