This article explains how to update the name of the a Pull Request using Bitbucket Command Line Interface (CLI).
Instructions
Use updatePullRequest action to update the name of the Pull Requesta pull request. Pull requests are a feature that makes it easier for developers to collaborate using bitbucketBitbucket.
The parameter parameters used in the below action are:
--project value, refers to the project key.
--repository value, refers to the repository name.
--pullRequest value, refers to the name of the Pull Requestpull request.
--name value, refers to the new name of the Pull Requestpull request.
Execute this action to update the name of the Pull Request.pull request:
Code Block theme Midnight --action updatePullRequest --project "TRAIN" --repository "Repo_Training" --pullRequest "PR_code" --name "PR_new"
The output of the CLI action:
Code Block theme Midnight Pull request: 9 updated with name: PR_new
- An example screenshot is shown below:
...
Info |
---|
It is recommended to test the commands command in a non-production environment before running in the production. |