Class BambooPlanConfigExportResource

java.lang.Object
com.atlassian.bamboo.plugins.rest.configuration.external.BambooPlanConfigExportResource

@Path("/export/plan") @Consumes("application/json") @Produces("application/json") @Singleton public class BambooPlanConfigExportResource extends Object
  • Constructor Details

  • Method Details

    • exportAllPlans

      @POST @Path("all") public javax.ws.rs.core.Response exportAllPlans()
      Export configuration of all top level plans, linked repositories and shared credentials to YAML format.
      Returns:
      json array of paths to all updated files
    • exportPlan

      @POST @Path("{projectKey : ([^-/]+)}-{buildKey}") public javax.ws.rs.core.Response exportPlan(@PathParam("projectKey") String projectKey, @PathParam("buildKey") String planKey)
      Export configuration of a top level plan to YAML format
      Parameters:
      projectKey - project key
      planKey -
      Returns:
      json array of paths to all updated files
    • exportPlanAlias

      @POST @Path("{projectKey : ([^-/]+)}/{buildKey}") public javax.ws.rs.core.Response exportPlanAlias(@PathParam("projectKey") String projectKey, @PathParam("buildKey") String planKey)
      Export configuration of a top level plan to YAML format
      Parameters:
      projectKey - project key
      planKey -
      Returns:
      json array of paths to all updated files