com.atlassian.greenhopper.web.migration
Class ClassicMigrationResource
java.lang.Object
com.atlassian.greenhopper.web.AbstractResource
com.atlassian.greenhopper.web.migration.ClassicMigrationResource
public class ClassicMigrationResource
- extends AbstractResource
Exposes the functionality for classic migration actions
Method Summary |
javax.ws.rs.core.Response |
getEpicsMigrationSummary(java.util.Set<java.lang.Long> projectIds)
Gets the details of the migration of classic epic links for the given projects. |
javax.ws.rs.core.Response |
migrationProgress(java.lang.Long taskId)
Reports the status of a migration task with the given taskId |
javax.ws.rs.core.Response |
startEpicsMigration(MigrationRequestModel request)
Starts the classic epic link migration. |
Methods inherited from class com.atlassian.greenhopper.web.AbstractResource |
check, createErrorResponse, createFromServiceOutcome, createNoContentResponse, createOkResponse, createOkResponse, getUser, isGadgetRequest, nullSafe, response, wireAuthenticationContext, wireI18nFactoryService |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassicMigrationResource
public ClassicMigrationResource(ClassicEpicMigrationService classicEpicMigrationService,
com.atlassian.jira.project.ProjectManager projectManager)
getEpicsMigrationSummary
public javax.ws.rs.core.Response getEpicsMigrationSummary(java.util.Set<java.lang.Long> projectIds)
- Gets the details of the migration of classic epic links for the given projects. Does not yet start a migration.
startEpicsMigration
public javax.ws.rs.core.Response startEpicsMigration(MigrationRequestModel request)
- Starts the classic epic link migration.
migrationProgress
public javax.ws.rs.core.Response migrationProgress(java.lang.Long taskId)
- Reports the status of a migration task with the given taskId
Copyright © 2007-2014 Atlassian. All Rights Reserved.