Forums

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

API. Переместить задачу из backlog на доску.

Максим Плаксин
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!
April 24, 2020

Добрый день.

В backlog задачу можно переместить с помощью /rest/agile/1.0/backlog/issue

А как обратно ее вернуть на доску с помощью команды по API?

Заранее спасибо за Ваши ответы.

1 answer

0 votes
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 5, 2020

Hi,

If I understand your concern here, you have used the endpoint POST /rest/agile/1.0/backlog/issue which move the issue to the backlog and removes it from any current or future sprints.  However now you want to put this issue back into the active board view.

In order for the issue to appear on the active board view, it has to belong to a sprint that has been started.  So first you would need to add that issue to a sprint.  The endpoint POST /rest/agile/1.0/sprint/{sprintId}/issue can add that issue to an existing sprint.  If there are no other future sprints planned yet, then you might need to first create sprint.

Once the sprint has been created, and that issue has been added to that sprint, you can then update the sprint to set the state to "active".  This will start the sprint.  I'd also recommend that when you do this you update the startDate to the date/time when you made this call.

I hope this helps.

Andy

Suggest an answer

Log in or Sign up to answer