Package com.atlassian.jira.issue
Class IssueVerifier
java.lang.Object
com.atlassian.jira.issue.IssueVerifier
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckIssueDetails(Issue issue, ErrorCollection errorCollection, ConstantsManager constantsManager, boolean checkWorkflowIntegrity) protected I18nHelperverifyForMigration(Issue issue, List<IssueType> typesNeedingMigration, WorkflowMigrationMapping workflowMigrationMapping, boolean checkWorkflowIntegrity) verifyIssue(Issue issue, Map<String, String> workflowMigrationMapping, boolean checkWorkflowIntegrity) This is a very basic integrity/verification test used to indicate if a workflow migration for a specific issue is possible.
-
Constructor Details
-
IssueVerifier
public IssueVerifier()
-
-
Method Details
-
verifyIssue
public ErrorCollection verifyIssue(Issue issue, Map<String, String> 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.
-
verifyForMigration
public ErrorCollection verifyForMigration(Issue issue, List<IssueType> typesNeedingMigration, WorkflowMigrationMapping workflowMigrationMapping, boolean checkWorkflowIntegrity) -
checkIssueDetails
protected void checkIssueDetails(Issue issue, ErrorCollection errorCollection, ConstantsManager constantsManager, boolean checkWorkflowIntegrity) throws WorkflowException - Throws:
WorkflowException
-
getI18nBean
-