Interface ServiceDeskCreationService
@PublicApi
public interface ServiceDeskCreationService
Creates service projects
-
Method Summary
Modifier and TypeMethodDescriptionint
migrateExistingProject
(com.atlassian.jira.user.ApplicationUser user, MigrateProjectParameters migrateProjectParameters) Migrates an existing project to be a service project.Create aMigrateProjectParameters.Builder
-
Method Details
-
migrateExistingProject
int migrateExistingProject(@Nonnull com.atlassian.jira.user.ApplicationUser user, @Nonnull MigrateProjectParameters migrateProjectParameters) Migrates an existing project to be a service project. If a disabled service project already exists in the project, it will be enabled.- Parameters:
user
- the user in the running contextmigrateProjectParameters
- the parameters required to migrate the project- Returns:
- the newly created (or re-enabled) service project id
- Throws:
ServiceDeskServiceException
- on error
-
migrateProjectParametersBuilder
MigrateProjectParameters.Builder migrateProjectParametersBuilder()Create aMigrateProjectParameters.Builder
-