devops promotion validate

Validate work item promotion for a pipeline stage.

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.

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.

Validate promotion of a work item to a target stage:

Validate promotion of multiple work items: