Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How can I create a pull request by making my own uri without using curl?

Aayush Jain December 31, 2021

Is there any way for me to specify something in the URL to default the title of the pull request?  It seems that the title is now either the title of the commit (if there is only one commit) or the branch name (if there are multiple commits).  I would like to default something within my control if possible.

Grateful for any answer

1 answer

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 31, 2021

Welcome to the community!

Yes, you can create a pull request with your own URI without curl.  They are two different things.  The URI is the point you need to connect to in order to ask Bitbucket to do something.  Curl is just a program that can call a URI.  You can call your URI with whatever program you want.

For contstructing the uri, and what data to send it (including "description") see https://developer.atlassian.com/cloud/bitbucket/rest/api-group-pullrequests/#api-repositories-workspace-repo-slug-pullrequests-post

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events