TL;DR
If you're following Scrum and not just doing some sort of "cowboy agile" you are not allowed to carry work from Sprint to Sprint without moving unfinished work back to the Product Backlog for re-prioritization and re-planning. This is part of what makes Scrum adaptable to changing circumstances and requirements that evolve over time.
Furthermore, work that can't be completed within a single Sprint shouldn't be accepted during Sprint Planning in the first place, and if it can be removed without endangering the Sprint Goal or the goal can be renegotiated with the Product Owner then do those things. Items unrelated to the current Sprint Goal or that won't meet the Definition of Done cannot be considered part of an Increment, and shouldn't be allowed to sidetrack the Developers from the current Sprint Goal.
Most of the analysis section is about why you're having what appears to be an X/Y problem. If you just want to jump to the recommended solutions, they are enumerated in the final section at the bottom.
Analysis and Recommendations
Problem Analysis
I would like to continue working on an item in the next Sprint, but if I move my card into the backlog for that Sprint it will remove it from the current Sprint. That isn't what I want.
What you are trying to do is an anti-pattern. Work should never automatically roll over, nor should work for future Sprints be scheduled prior to the end of the current Sprint. The 2020 Scrum Guide™ requires unfinished work to be returned to the Product Backlog for possible reconsideration in the future:
If a Product Backlog item does not meet the Definition of Done, it cannot be released or even presented at the Sprint Review. Instead, it returns to the Product Backlog for future consideration.
Furthermore, either the item is required for the current singular Sprint Goal or it is not.
The Sprint Goal is the single objective for the Sprint...The Sprint Goal also creates coherence and focus, encouraging the Scrum Team to work together rather than on separate initiatives.
Based on your description of the problem, you are likely missing one or more of the required Scrum artifacts:
Each artifact contains a commitment to ensure it provides information that enhances transparency and focus against which progress can be measured:
- For the Product Backlog it is the Product Goal.
- For the Sprint Backlog it is the Sprint Goal.
- For the Increment it is the Definition of Done.
That often drives anti-patterns such as Sprint Backlog items that don't meet INVEST criteria and can't fit within a single Sprint, or working on things that aren't part of the current Sprint Plan.
Deeper Analysis
Either the work is no longer on the critical path to the current Sprint Goal, or it is but can't meet the Definition of Done within the time box defined by the Sprint. You have to look at various parts of the Scrum Guide, but it is quite clear that work that can't be completed within a single Sprint should not be included in the Sprint Plan. When the guide says:
Selecting how much can be completed within a Sprint may be challenging. (2020 Scrum Guide™ § Sprint Planning)
it's implicitly saying that work should be decomposed to fit within a single Sprint before being selected for the Sprint Backlog. More importantly, incomplete work should never be planned or included within a defined Increment:
Work cannot be considered part of an Increment unless it meets the Definition of Done. (2020 Scrum Guide™. Scrum Artifacts, Increment, para. 3)
That doesn't mean teams don't make mistakes or can't modify scope. The Scrum Guide provides a means for taking things off the critical path, which includes putting unfinished work back on the Product Backlog.
If the work turns out to be different than [the Development Team] expected, they collaborate with the Product Owner to negotiate the scope of the Sprint Backlog within the Sprint without affecting the Sprint Goal.
If the Sprint Goal can't be met even after renegotiation, then the framework provides another escape hatch:
A Sprint could be cancelled if the Sprint Goal becomes obsolete. Only the Product Owner has the authority to cancel the Sprint.
Since there can only be one Sprint Goal and one Product Goal at a time, e.g.:
The Product Goal is the long-term objective for the Scrum Team. They must fulfill (or abandon) one objective before taking on the next.
a drastic change to either would require a return to Sprint Planning. Again, this is by design: either the change is important enough to be made a visible cost to the project and should trigger re-planning, or it doesn't in which case there is no reason not to reconsider the item's value to the current Sprint.
In either case, work essential to the Sprint Goal must be completed within the current Sprint to be worked on. Doing anything else is "not Scrum." If the team or the organization insists on doing something that is prohibited by the Scrum framework then go right ahead, but you're not permitted to call whatever you're doing instead "Scrum." A very common cause of people saying Scrum doesn't work! is that they don't implement the framework as intended, and then place the blame on Scrum itself rather than an improper application of its theory, principles, and required events.
Recommendations
Since it seems like you're asking how to do a thing in JIRA, but what you're really asking is how to do something non-Scrum in JIRA. Here are some key recommendations that should help, even though they don't tell you how to do what you want (and shouldn't do) in JIRA.
- Ensure the Scrum Team has a clearly defined Product Goal, Sprint Goal, and Definition of Done. Without them, you can't fix the underlying problem.
- Don't select work for a Sprint that won't be completable within a single Sprint. Decompose as necessary, following INVEST criteria when possible. A formal Definition of Ready may help too, but understand that mistakes happen.
- Don't select work that isn't relevant to the current Product or Sprint Goals. A lack of focus and coherence means you're treating Sprint Planning as a tasking system for a feature factory rather than a product development process.
- Don't be afraid to change course when needed. A core agile principle is to embrace change, even late in the process. Scrum provides many ways to do this within its framework.
- Determine if the work is essential to your current Sprint Goal. If not, remove it from the Sprint Backlog or renegotiate the Sprint Goal and associated Increments with the Product Owner.
- Do not schedule work for future Sprints ahead of time. Sprint Planning is a dynamic process, and is based on where you are right now and where you're currently trying to go. Since priorities, goals, processes, and tools can change, Scrum uses just-in-time and just-enough planning to meet continuously evolving requirements. That means you should leave planning future work until the last responsible moment, and that's usually during the Backlog Refinement event or Sprint Planning.
- Don't let your tools drive your process. A common mistake with any process, but especially when talking about agility, is designing your process around a set of tools rather than selecting tools that support your process. In this case, it sounds like JIRA is doing the right thing as defined by Scrum; if it weren't, then you should fix or replace the tool rather than let the internals of the tool (and JIRA is intrinsically a ticketing tool rather than a team-based Scrum backlog management tool) drive you towards implementing a substandard process.
- Remember that "The goal of a Sprint is to complete the Sprint Goal." The inability to complete non-essential tasks or to maximize utilization are also anti-patterns, and CodeGnome's Scrum Tautology℠ is pretty clear that you should be focusing on that rather than on falling prey to the 100% utilization fallacy.
- Don't assign work to people. Story points or tickets completed aren't "victory points" or a useful way to hold people accountable within an agile framework. As a ticketing system, JIRA tends to drive a lot of non-agile behavior, but the whole Scrum Team (especially the Developers) collectively owns the commitment to deliver a successful Sprint Goal. Nobody gets brownie points for doing anything other than delivering working Increments that align with the Sprint and Product Goals, and that meet the Definition of Done. Always remember that this can happen whether or not all tickets are completed prior to the end of the Sprint!
- Don't assign future tasks or chores to specific Sprints. During Sprint Planning, the Developers select work off the Product Backlog that aligns with the current Product Goal and creates a unified Sprint Goal. While that sometimes means adding tasks and chores to the current Sprint Backlog based on what needs to be done to meet the Sprint Goal, assigning future work to specific Sprints actually makes the framework less adaptable. Don't do that!
- If this isn't a one-time problem, make sure to address it within your Sprint Retrospective. Every process has occasional hiccups, but Scrum is meant to drive continuous process improvement. If you are routinely facing this challenge, then you need to inspect-and-adapt your process as a team. Unless the problem is more urgent than meeting the Sprint Goal, the Sprint Retrospective is usually the right place to discuss the challenges and alternative approaches.
In short, JIRA is (for once) doing the right thing by saying something is either currently in-scope or it's not. Everything else stems from either a political problem within your organization or a misapplication of the Scrum framework. If it's a political problem where you're trying to avoid blame or earn "productivity points" then focus on fixing the culture problem. If it's a misapplication of the framework, then work together as a team to continuously improve the process until it runs more smoothly.
See Also
Here are some various links to related posts about "effort variance" and "consumed story points" that seem at least tangentially relevant to your question. There are doubtless others as well.