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\"}"
It works, thank you so much!
It looks like you're new here. Sign in or register to get started.