Forums

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

How to move issue to sprint by use REST api?

陈列
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!
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
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!
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
TAGS
AUG Leaders

Atlassian Community Events