Using API 2.0, I am working on a super kanban board, and when rendering the card I want a button that will move the story to the next sprint.
I started with adding the iteration combo, but that is overkill. I can add the button and the code, but is there a way to get the next iteration?
I dont see anything out there, thought I would ask here before I started coding.
The kanban board is iteration specific, so i could move up a sprint or two and still want to push it forward, so figure I have to grab the current iteration and somehow get the next one…
Thoughts?
You can query for iterations where the start date is after today, ordered by start date. That should give you the next iteration in records[0]…