How to move issue to sprint by use REST api?

陈列 September 7, 2020

I want use this API but I don't know what's the "issues" to fillissue_question1.png

1 answer

0 votes
Parvaneh Zand
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.
September 7, 2020

Hi @陈列

You should provide a list of issue keys to be added to the sprint.
For example, ["TEST-1","TEST-2", ...]

Final cURL is like this:

curl --location --request POST 'https://<localhost>/rest/agile/1.0/sprint/SprintID/issue'

--header 'Content-Type: application/json' \

--data-raw '{"issues":["TEST-1","TEST-2"]}'
Rahmat Ramadhani December 23, 2021

Hi,

Got following response with above curl: 

{

"error": "No value present"

}

Do you have any suggest?

Suggest an answer

Log in or Sign up to answer