devops work-item create

Create a new work item in a DevOps Center project.

The command creates the work item using the Connect API. Requires a project ID and a subject for the new work item; run the devops project list command to get the IDs for all existing projects.

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

Override the api version used for api requests made by this command
‑‑description‑dType: Value

Description of the new work item; if not specified, the description is blank.
‑‑flags‑dirN/AType: Value

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

Format output as json.
‑‑project‑id‑pType: Value
Required

ID of the DevOps Center project to create the work item in.
‑‑subject‑sType: Value
Required

Subject (title) of the new work item.
‑‑target‑org‑oType: Value
Required

Username or alias of the target org. Not required if the target-org configuration variable is already set.

Create a work item for the project with the specified ID and give the work item the specified subject (title); use the DevOps Center org with alias “my-devops-org”:

Create a work item with a subject and description: