This article explains update the name of the Pull Request using Bitbucket Command Line Interface (CLI).
...
Use updatePullRequest action to update the name of the Pull Request. Pull requests are a feature that makes it easier for developers to collaborate using bitbucket.
The parameter 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 Request.
--name value refers to the new name of the Pull Request.
Execute this action to update the name of the 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 in a non-production environment before running in the production. |