JIRA Long running tasks can not run simultaneously

XMLWordPrintable

    • 14
    • Severity 3 - Minor
    • 1

      Summary

      Long running tasks are having issues when another long running task is triggered by the same time.

      Environment

      (Optional - If Applicable)

      • Checked within JIRA Core Cloud

      Steps to Reproduce

      1. Start one of these actions:
        • Bulk operation *(any kind)
        • Clone issue
        • Background Indexing
        • Workflow migration
      2. Now trigger another any of these actions while the previous task is still running:
        • Bulk operation *(any kind)
        • Clone issue
        • Background Indexing
        • Workflow migration

      Expected Results

      Tasks to run successfully.

      Actual Results

      You'll see a generic error like this one:

      "The task context is not of the expected type. Expected 'com.atlassian.jira.config.IndexTaskContext' but got 'com.atlassian.jira.bc.issue.clone.CloneIssueTaskManagerImpl$CloneIssueTaskContext'"

      Where the "expected" value changes according to what tasks you run. Both tasks fail

      Notes

      (Optional - If Necessary)

      Workaround

      Assure that no tasks will be run simultaneously.

        1. comment.jpg
          76 kB
          Suchit Kharatmol
        2. screenshot-1.png
          34 kB
          Eduardo Masiero

            Assignee:
            Unassigned
            Reporter:
            Eduardo Masiero
            Votes:
            2 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:
              Resolved: