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