Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editing pull requests #334

Open
carr-james opened this issue Apr 29, 2022 · 0 comments
Open

Editing pull requests #334

carr-james opened this issue Apr 29, 2022 · 0 comments

Comments

@carr-james
Copy link

Expected Behaviour

There is no way to edit an existing pull request. This seems like a fairly simple API, as described in the docs.

Current Behavior

The current behaviour only allows us to create new pull request with the POST endpoint. Ideally we would also expose the PUT endpoint to allow editing a specific PR.

Context

I am migrating some bash scripts that used to used curl to automate creating pull request. It either creates a pull-request between two branches or edits the existing PR if one exists. This is currently not possible use bitbucket-rest since the PUT endpoint isn't implemented.

I'm happy to provide a pull-request to implement this endpoint as it should be fairly simple to add.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant