Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-8659

Error setting new workflow scheme when Closed issues can't be reopened

    XMLWordPrintable

Details

    Description

      If an issue is in a status with no transitions (eg. Closed without a Reopen), then it doesn't have an OSWorkflow 'current step' database record, and the integrity checker complains:

      Check workflow current step entries
         ERROR: 	TP-3 - The workflow entry with id 10032 does not have a corresponding current step. 	JRA-4539
      

      This does cause another problem: if you try to switch the project's workflow scheme, the workflow migration breaks with an error:

      ERROR
      
      There are errors associated with issues that are to be migrated to the new workflow association.
      These errors must be corrected before the workflow association can be completed.
      No changes have been made to the database.
      
      Please consult your administrators regarding these errors. Running the integrity checker from the administration section may resolve the problem.
      
      Errors:
      
          * Unable to determine the current step for issue 'TP-3'.
      

      Allowing the Integrity Checker to 'correct' the situation allows the workflow migrator to complete successfully.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              7ee5c68a815f Jeff Turner
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: