public class

WorkflowMigrationResultForMultipleProjects

extends Object
implements WorkflowMigrationResult
java.lang.Object
   ↳ com.atlassian.jira.web.action.admin.workflow.WorkflowMigrationResultForMultipleProjects

Summary

[Expand]
Inherited Constants
From interface com.atlassian.jira.web.action.admin.workflow.WorkflowMigrationResult
Public Constructors
WorkflowMigrationResultForMultipleProjects(List<WorkflowMigrationResult> results)
Public Methods
ErrorCollection getErrorCollection()
Returns a collection of errors that were found before starting the migration.
Map<LongString> getFailedIssues()
A Map of issue ids to issue keys of failed issues.
int getNumberOfFailedIssues()
The number of issues that failed during the migration, or until the migration was terminated.
int getResult()
Returns the result of the workflow migration.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.web.action.admin.workflow.WorkflowMigrationResult

Public Constructors

public WorkflowMigrationResultForMultipleProjects (List<WorkflowMigrationResult> results)

Public Methods

public ErrorCollection getErrorCollection ()

Returns a collection of errors that were found before starting the migration.

public Map<LongString> getFailedIssues ()

A Map of issue ids to issue keys of failed issues.

Returns
  • an empty map if getNumberOfFailedIssues() is 0 or a mapping of issue id to issue key for every failed issue during the migration.

public int getNumberOfFailedIssues ()

The number of issues that failed during the migration, or until the migration was terminated.

Returns
  • 0 if no failures were encountered, or if the migration did not start due to found errors (see getNumberOfFailedIssues()). Or the number of failures during the migration, or until the migration was terminated.

public int getResult ()

Returns the result of the workflow migration.

Returns