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

Integrity checker preview breaks when issues have missing workflows

      NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.

      Symptoms

      When using the Database Integrity Checker a stack trace is generated.

      The following may be found within the atlassian-jira.log:

      com.atlassian.jira.appconsistency.integrity.exception.IntegrityException: Error occurred while performing check.
      	at com.atlassian.jira.appconsistency.integrity.check.WorkflowCurrentStepCheck.doCheck(WorkflowCurrentStepCheck.java:142)
      	at com.atlassian.jira.appconsistency.integrity.check.WorkflowCurrentStepCheck.preview(WorkflowCurrentStepCheck.java:51)
      	at com.atlassian.jira.appconsistency.integrity.IntegrityChecker.preview(IntegrityChecker.java:63)
      	at com.atlassian.jira.appconsistency.integrity.IntegrityChecker.previewWithIds(IntegrityChecker.java:35)
      	at com.atlassian.jira.web.action.admin.IntegrityChecker.doExecute(IntegrityChecker.java:68)
      	at webwork.action.ActionSupport.execute(ActionSupport.java:165)
      

      Cause

      This is a bug within JIRA.

      Workaround

      Run the "Check Issue for Relation 'RelatedOSWorkflowEntry'" check first and fix any entries that are returned.

            [JRASERVER-4714] Integrity checker preview breaks when issues have missing workflows

            Conny Postma made changes -
            Remote Link Original: This issue links to "Page (Atlassian Documentation)" [ 42531 ]
            Edson Araujo made changes -
            Regular Expression Original: \(WorkflowCurrentStepCheck.java:\d*\)|\(AbstractJiraWorkflow.java:\d*\) New: WorkflowCurrentStepCheck|AbstractJiraWorkflow
            Symptom Severity New: Severity 3 - Minor [ 15832 ]

            Brent Nye added a comment -

            Workaround != "Fixed."

            Brent Nye added a comment - Workaround != "Fixed."
            Rachel Robins made changes -
            Remote Link Original: This issue links to "Page (Atlassian Documentation)" [ 102268 ]
            Bugfix Automation Bot made changes -
            Minimum Version New: 3
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2845404 ] New: JAC Bug Workflow v3 [ 2928002 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v7 - Restricted [ 2584681 ] New: JAC Bug Workflow v2 [ 2845404 ]
            Ignat (Inactive) made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v6 - Restricted [ 1543795 ] New: JIRA Bug Workflow w Kanban v7 - Restricted [ 2584681 ]
            jonah (Inactive) made changes -
            Description Original: h3. Symptoms

            When using the [Database Integrity Checker|http://confluence.atlassian.com/display/JIRA/Using+the+Database+Integrity+Checker] a stack trace is generated.

            The following may be found within the {{atlassian-jira.log}}:

            {noformat}
            com.atlassian.jira.appconsistency.integrity.exception.IntegrityException: Error occurred while performing check.
            at com.atlassian.jira.appconsistency.integrity.check.WorkflowCurrentStepCheck.doCheck(WorkflowCurrentStepCheck.java:142)
            at com.atlassian.jira.appconsistency.integrity.check.WorkflowCurrentStepCheck.preview(WorkflowCurrentStepCheck.java:51)
            at com.atlassian.jira.appconsistency.integrity.IntegrityChecker.preview(IntegrityChecker.java:63)
            at com.atlassian.jira.appconsistency.integrity.IntegrityChecker.previewWithIds(IntegrityChecker.java:35)
            at com.atlassian.jira.web.action.admin.IntegrityChecker.doExecute(IntegrityChecker.java:68)
            at webwork.action.ActionSupport.execute(ActionSupport.java:165)
            {noformat}

            h3. Cause

            This is a bug within JIRA.

            h3. Workaround

            Run the "Check Issue for Relation 'RelatedOSWorkflowEntry'" check first and fix any entries that are returned.
            New: {panel:bgColor=#e7f4fa}
              *NOTE:* This bug report is for *JIRA Server*. Using *JIRA Cloud*? [See the corresponding bug report|http://jira.atlassian.com/browse/JRACLOUD-4714].
              {panel}

            h3. Symptoms

            When using the [Database Integrity Checker|http://confluence.atlassian.com/display/JIRA/Using+the+Database+Integrity+Checker] a stack trace is generated.

            The following may be found within the {{atlassian-jira.log}}:

            {noformat}
            com.atlassian.jira.appconsistency.integrity.exception.IntegrityException: Error occurred while performing check.
            at com.atlassian.jira.appconsistency.integrity.check.WorkflowCurrentStepCheck.doCheck(WorkflowCurrentStepCheck.java:142)
            at com.atlassian.jira.appconsistency.integrity.check.WorkflowCurrentStepCheck.preview(WorkflowCurrentStepCheck.java:51)
            at com.atlassian.jira.appconsistency.integrity.IntegrityChecker.preview(IntegrityChecker.java:63)
            at com.atlassian.jira.appconsistency.integrity.IntegrityChecker.previewWithIds(IntegrityChecker.java:35)
            at com.atlassian.jira.web.action.admin.IntegrityChecker.doExecute(IntegrityChecker.java:68)
            at webwork.action.ActionSupport.execute(ActionSupport.java:165)
            {noformat}

            h3. Cause

            This is a bug within JIRA.

            h3. Workaround

            Run the "Check Issue for Relation 'RelatedOSWorkflowEntry'" check first and fix any entries that are returned.
            jonah (Inactive) made changes -
            Link New: This issue relates to JRACLOUD-4714 [ JRACLOUD-4714 ]

              edalgliesh Eric Dalgliesh
              7ee5c68a815f Jeff Turner
              Affected customers:
              6 This affects my team
              Watchers:
              20 Start watching this issue

                Created:
                Updated:
                Resolved: