public interface WorkflowMigrationService
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.fugue.Option<com.atlassian.jira.task.TaskDescriptor<com.atlassian.jira.web.action.admin.workflow.WorkflowMigrationResult>> |
doMigrate(long projectId,
long workflowSchemeId)
Attempts to migrate the specified project to the specified workflow scheme.
|
com.atlassian.fugue.Option<com.atlassian.jira.task.TaskDescriptor<com.atlassian.jira.web.action.admin.workflow.WorkflowMigrationResult>> doMigrate(long projectId,
long workflowSchemeId)
throws WorkflowMigrationException
projectId - the ID of the projectworkflowSchemeId - the ID of the target workflow schemeTaskDescriptor to hold the status of the migration task, or nothing to signify that
the migration was instantcom.atlassian.greenhopper.workflow.migration.WorkflowMigrationException - if anything goes wrong underneath (mostly GenericEntityExceptions)WorkflowMigrationExceptionCopyright © 2007–2015 Atlassian. All rights reserved.