my workflow is
todo => developing => ready for test => testing => done
and it's also possible to put a story to invalid anytime.
both invalid and done stories gets a resolution set
however, when I complete the sprint it seems like jira cloud only regards the stories in the rightmost column as done, regardless of the fact that there are other stories on the board with the resolution set.
As a result all stories that are set to invalid, and are in the column left of the done one, are treated as spillover, and moved to the next sprint.
How do I make sure that only stories that are not resolved, are treated as spillover.