public class

IssueVerifier

extends Object
java.lang.Object
   ↳ com.atlassian.jira.issue.IssueVerifier

Summary

Public Constructors
IssueVerifier()
Public Methods
ErrorCollection verifyForMigration(Issue issue, List<IssueType> typesNeedingMigration, WorkflowMigrationMapping workflowMigrationMapping, boolean checkWorkflowIntegrity)
ErrorCollection verifyIssue(Issue issue, Map<StringString> workflowMigrationMapping, boolean checkWorkflowIntegrity)
This is a very basic integrity/verification test used to indicate if a workflow migration for a specific issue is possible.
Protected Methods
void checkIssueDetails(Issue issue, ErrorCollection errorCollection, ConstantsManager constantsManager, boolean checkWorkflowIntegrity)
I18nHelper getI18nBean()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public IssueVerifier ()

Public Methods

public ErrorCollection verifyForMigration (Issue issue, List<IssueType> typesNeedingMigration, WorkflowMigrationMapping workflowMigrationMapping, boolean checkWorkflowIntegrity)

public ErrorCollection verifyIssue (Issue issue, Map<StringString> workflowMigrationMapping, boolean checkWorkflowIntegrity)

This is a very basic integrity/verification test used to indicate if a workflow migration for a specific issue is possible.

It is not possible to test all steps in the migration process due to database access and creation of new elements (e.g. workflow entries, etc).

This test ensures that a specific issue is in a suitable state (e.g. workflow, status, etc).

This is the professional version of the checker.

Returns
  • an error collection detailing errors associated with the issue.

Protected Methods

protected void checkIssueDetails (Issue issue, ErrorCollection errorCollection, ConstantsManager constantsManager, boolean checkWorkflowIntegrity)

protected I18nHelper getI18nBean ()