Editing a Pull Request

You can edit pull request details such as name, destination branch and reviewers.

    1. Open the navigation menu and click Developer Services. Under DevOps, click Projects.
    2. Select a project and from the left-side menu, click Code Repositories.
    3. Select a code repository and click the Pull Requests link on the left-side menu.
      Note

      A filter is available to sort and display the pull requests based on state, author, and target branch. By default, all the pull requests associated with the repository are displayed.
    4. Select a pull request that you want to edit.
    5. Click Edit reviewer to add or remove pull request reviewers.
    6. Under More actions, click the Edit link.
    7. You can edit the PR name, description, and destination branch. You can also change the reviewers.
    8. Click Save changes.
  • To retrieve a pull request, run the get command:

    oci devops pull-request get --pull-request-id

    To update pull request, run the update command:

    oci devops pull-request update --pull-request-id -description --destination-branch --display-name

    To patch a pull request, run the patch command:

    oci devops pull-request patch --pull-request-id

    To reopen a pull request, run the reopen command:

    oci devops pull-request reopen --pull-request-id

    To review a pull request, run the review command:

    oci devops pull-request review --action --pull-request-id
  • To edit a pull request, use the UpdatePullRequest operation.