---
schema_version: "1"
id: 40aee8927cbb07bf990d94994d8bcc13c91dad30cc08ae341bc623d595078f88
title: devops review create
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/salesforcedx/sfclireference/guides/devops/cli_reference_devops_review_create.md
canonical_url: https://developer.salesforce.com/docs/platform/salesforce-cli-reference/guide/cli_reference_devops_review_create.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 3e7e25dd5ebf54643447d73b405168edf9d8778b53f66364d3c8d4c34bda16e6
products:
  - Salesforce CLI Command Reference
  - salesforcedx
---
<!-- prettier-ignore-start -->

# devops review create

Create a pull request for a work item branch.

## Description for devops review create

Creates a pull request via the Salesforce DevOps Center API, using the VCS credentials stored in the org. Works with GitHub and Bitbucket without requiring local VCS authentication.

## Flags

| Flag Name (Long) | Flag Name (Short) | Description |
|------------------|-------------------|-------------|
| <code>&#8209;&#8209;api&#8209;version</code> | N/A | **Type:** Value<br><br>Override the api version used for api requests made by this command |
| <code>&#8209;&#8209;flags&#8209;dir</code> | N/A | **Type:** Value<br><br>Import flag values from a directory. |
| <code>&#8209;&#8209;json</code> | N/A | **Type:** Boolean<br><br>Format output as json. |
| <code>&#8209;&#8209;target&#8209;org</code> | <code>&#8209;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>&#8209;&#8209;work&#8209;item&#8209;id</code> | <code>&#8209;w</code> | **Type:** Value<br><br>ID of the work item. |
| <code>&#8209;&#8209;work&#8209;item&#8209;name</code> | <code>&#8209;n</code> | **Type:** Value<br><br>Name of the work item, such as WI-000001. |

## Examples for devops review create

Create a pull request for a work item.

```shell
sf devops review create --target-org my-devops-org --work-item-name WI-000001
```

Create a pull request using the work item ID.

```shell
sf devops review create --target-org my-devops-org --work-item-id 0Wx000000000001
```
<!-- prettier-ignore-end -->
