Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

168 views 2 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you