diff --git a/atlassian/VERSION b/atlassian/VERSION index ebb8439a9..c03c47aa8 100644 --- a/atlassian/VERSION +++ b/atlassian/VERSION @@ -1 +1 @@ -3.36.0 \ No newline at end of file +3.37.0 diff --git a/atlassian/bitbucket/__init__.py b/atlassian/bitbucket/__init__.py index 9e299fa61..5212b7cb5 100644 --- a/atlassian/bitbucket/__init__.py +++ b/atlassian/bitbucket/__init__.py @@ -1685,7 +1685,21 @@ def get_pullrequest(self, *args, **kwargs): """ Deprecated name since 1.15.1. Let's use the get_pull_request() """ - return self.get_pull_request(*args, **kwargs) + + def update_pull_request(self, project_key, repository_slug, pull_request_id, data): + """ + Update a pull request. + The authenticated user must have REPO_WRITE permission + for the repository that this pull request targets to call this resource. + :param project_key: + :param repository_slug: + :param pull_request_id: the ID of the pull request within the repository + :param data: json body + :return: + """ + + url = self._url_pull_request(project_key, repository_slug, pull_request_id) + return self.post(url, data=data) def delete_pull_request( self,