devops promotion validate

<!-- prettier-ignore-start -->

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
<code>‑‑api‑version</code> N/A Type: Value<br><br>Override the api version used for api requests made by this command
<code>‑‑flags‑dir</code> N/A Type: Value<br><br>Import flag values from a directory.
<code>‑‑json</code> N/A Type: Boolean<br><br>Format output as json.
<code>‑‑target‑org</code> <code>‑o</code> Type: Value<br>Required<br><br>Username or alias of the target org. Not required if the target-org configuration variable is already set.
<code>‑‑target‑stage‑id</code> <code>‑t</code> Type: Value<br>Required<br><br>ID of the target pipeline stage to validate promotion to.
<code>‑‑work‑item‑id</code> <code>‑i</code> Type: Value<br>Required<br><br>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:

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

Validate promotion of multiple work items:

sf devops promotion validate --target-org my-devops-org --target-stage-id 1QV000000000001 --work-item-id 1fk000000000001 --work-item-id 1fk000000000002
<!-- prettier-ignore-end -->