ksc_update_project_status

This command updates the status of a project.

Usage

ksc_update_project_status PROJECT_ID="<project_id>" STATUS="<status_code>"

  • If you run this command as part of a project workflow, the parameter PROJECT_ID will be automatically provided from the current project.

  • If you specify the Project ID value manually, make sure you select the Project ID (available in the browser’s URL bar when viewing a project), not the Project Number.

  • Valid options for STATUS are: ON_HOLD, IN_FLIGHT, CANCELLED, COMPLETE, PLANNING.

Example using ksc_update_project_status

ksc_update_project_status PROJECT_ID="30123" STATUS="ON_HOLD"

Note: If you run this command right after the special command ksc_create_project which creates a project from a proposal, you need to wait for a few seconds for the project to be created before trying to update the project status. You can run the following command:

ksc_local_exec sleep 30