Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×how to reset the issue key number
Delete all the issues in the project (not just move them, you have to delete), stop Jira, amend the counter field in the project table in the database, restart Jira and re-index it before creating issues in the project you have reset.
It can be done only through DB QUERY. Through UI , you can't do.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
if you have scriptrunner
import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.jira.project.Project
import com.atlassian.jira.project.ProjectManager
Project key = ComponentAccessor.getProjectManager().getProjectObjByKey("XRM")
Long value = 0L // Will be set to 0 so the first issue will get the ID of "KEY-1"
ComponentAccessor.getProjectManager().setCurrentCounterForProject(key, value)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.