Problem Statement
While creating a snapshot of a project with several issues, if the process is interrupted and when an attempt to take another snapshot is made, the below error is thrown:
Error Message
Job with name 'com.botronsoft.jira.rollout.snapshot' has already been scheduled.
Log Entries
ERROR user1234 xxxxxxxxx xxxxxxxxxxx 10.0.1.1,10.0.1.2,10.0.1.3 /rest/configuration-manager/1.0/snapshots/progress/4 [c.b.j.r.impl.rest.AbstractResource] com.botronsoft.jira.rollout.jobs.JobAlreadyScheduledException: Job with name 'com.botronsoft.jira.rollout.snapshot' has already been scheduled java.util.concurrent.ExecutionException: com.botronsoft.jira.rollout.jobs.JobAlreadyScheduledException: Job with name 'com.botronsoft.jira.rollout.snapshot' has already been scheduled
Environment
Application | Jira |
---|---|
Version | Server |
Cause
CMJ allows only one snapshot creation at a time. This means that before you attempt another one, you should wait for the current one to complete.
Solution
To kill an ongoing process of snapshot creation, here are the two options:
- When an operation is running in the background, wait for the previously started operation to complete. You can monitor this in the CMJ's Audit log, for a message that suggests the snapshot is created.
- Rarely, the operation can get stuck because of an unexpected issue with the platform. In this case, the solution is to restart JIRA and create a new snapshot.