# summary

Create a new work item in a DevOps Center project.

# description

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.

# flags.project-id.summary

ID of the DevOps Center project to create the work item in.

# flags.subject.summary

Subject (title) of the new work item.

# flags.description.summary

Description of the new work item; if not specified, the description is blank.

# examples

- 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":

      <%= config.bin %> <%= command.id %> --target-org my-devops-org --project-id 1Qg000000000001 --subject "Fix login bug"

- Create a work item with a subject and description:

      <%= config.bin %> <%= command.id %> --target-org my-devops-org --project-id 1Qg000000000001 --subject "Add dark mode" --description "Implement dark mode toggle in settings page"
