decline_pull_request
Decline a pull request by providing a reason. Automatically fetches the current version to handle optimistic locking.
Instructions
Decline a pull request. Fetches the current version automatically for optimistic locking.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prId | Yes | Pull request ID. | |
| message | No | Reason for declining. | |
| project | No | Project key. Defaults to BITBUCKET_DEFAULT_PROJECT. | |
| repository | Yes | Repository slug. |