Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Problem Statement

Info
If while 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 following below error is thrown:

Error Message 

Code Block
themeMidnight
Job with name 'com.botronsoft.jira.rollout.snapshot' has already been scheduled.

Log Entries 

Code Block
themeMidnight
ERROR user1 445x98019x1 116nnw6 10.251.86.81,10.80.80.8,10.53.49.80 /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

ApplicationJira
VersionServer

Cause

Panel
bgColor#f9ecc5

CMJ allows only one snapshot creation operation at a time. This It means that , before you attempt another one, you must should wait for the currently running current one to complete.

Solution

To kill an ongoing process of snapshot creation,

...

here are the two options

...

:

  1. 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 log, for a message that suggests that the snapshot is created.
  2. Rarely, the operation can get stuck because of a an unexpected issue with the platform issue. In this case, the solution is to restart JIRA and create a new snapshot.