Moving a Job Between Compartments

Move a job in Data Science to a different compartment.

For example, you might want to move a job to promote it from a development compartment to production compartment, or to change the visibility of the job.

    1. On the Projects list page, select the project that contains the jobs that you want to work with. If you need help finding the list page or the project, see Listing Projects.
    2. On the project details page, select Jobs.
      All jobs in the selected project are displayed in a table.
    3. Find the job that you want to work with.
    4. From the Actions menu (three dots) for the job, select Move resource.
    5. In the Move resource panel, select the new compartment for the job.
    6. Select Move resource.
    A notification is displayed indicating that the job resource is moved to the new compartment successfully. You might notice the job status change to Moving. After the move is completed successfully, the job status changes back to Active.
  • Use the oci data-science job change-compartment command and required parameters to change the job compartment:

    oci data-science job change-compartment --compartment-id <compartment-id> .-c [<text>].. [OPTIONS]

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Use the ChangeJobCompartment operation to change the compartment.