devops promotion validate

Validate work item promotion for a pipeline stage.

Description for devops promotion validate 

Validates whether the specified work items can be promoted to the target pipeline stage. Checks for VCS and object permission errors before a promotion is attempted.

Flags 

Flag Name (Long)Flag Name (Short)Description
‑‑api‑versionN/AType: Value

Override the api version used for api requests made by this command
‑‑flags‑dirN/AType: Value

Import flag values from a directory.
‑‑jsonN/AType: Boolean

Format output as json.
‑‑target‑org‑oType: Value
Required

Username or alias of the target org. Not required if the target-org configuration variable is already set.
‑‑target‑stage‑id‑tType: Value
Required

ID of the target pipeline stage to validate promotion to.
‑‑work‑item‑id‑iType: Value
Required

ID of a work item to validate for promotion. Specify multiple times for multiple work items.

Examples for devops promotion validate 

Validate promotion of a work item to a target stage:

1sf devops promotion validate --target-org my-devops-org --target-stage-id 1QV000000000001 --work-item-id 1fk000000000001

Validate promotion of multiple work items:

1sf devops promotion validate --target-org my-devops-org --target-stage-id 1QV000000000001 --work-item-id 1fk000000000001 --work-item-id 1fk000000000002