Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Aayush Jain
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
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