Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,360,004
Community Members
 
Community Events
168
Community Groups

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

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

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
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

3,458 views 3 10
Read article

Atlassian Community Events