Skip to end of banner
Go to start of banner

How to update the name of the Pull Request using updatePullRequest

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

This article explains update the name of the Pull Request using Bitbucket Command Line Interface (CLI).

Instructions

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.

    --action updatePullRequest --project "TRAIN" --repository "Repo_Training" --pullRequest "PR_code" --name "PR_new


  • The output of the CLI action:

    Pull request: 9 updated with name: PR_new
  • An example screenshot is shown below:


It is recommended to test the commands in a non-production environment before running in the production.

  • No labels