This command updates the status of a project’s work plan.
ksc_update_workplan_status PROJECT_ID="<project_id>" STATUS="<status_code>"
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, ACTIVE, CANCELLED, COMPLETE, PLANNING.
ksc_update_workplan_status PROJECT_ID="30123" STATUS="ON_HOLD"
If you run this command as part of a project workflow, the parameter
PROJECT_ID will be automatically provided from the current project.
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 work plan status. You can run the following command:
ksc_local_exec sleep 30