Добрый день.
В backlog задачу можно переместить с помощью /rest/agile/1.0/backlog/issue
А как обратно ее вернуть на доску с помощью команды по API?
Заранее спасибо за Ваши ответы.
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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.