The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

How to export pull Requests from Bitbucket Cloud

sankara Kalagadandu
March 8, 2023

Dear Team,

 

How to export pull requests from Bitbucket cloud. I was trying to use Bitbucket RestAPI's but unable to extract data.

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Ulrich Kuhnhardt _IzymesCo_
Atlassian Partner
March 8, 2023

Hello Sankara, welcome to the community.

This is a good question, however I am not sure what you need the exported pull request for.

On a very basic level a pull request is a glorified git diff view of a source and target branch that allows team members to collaborate, comment on etc. A pull request has a variety of metadata such as 'state', 'author', 'reviewers', 'comments', 'tasks' etc.

You can certainly query the bitbucket REST API to retrieve pull request metadata, which, if that's the data you're after, could be an 'export' :D

Let us know if we can help you further

Best, Ulrich

// Izymes

0 votes
Maria Korolenko
Contributor
March 8, 2023

Hello Sankara! 

I'm also curious what's the main goal of exporting pull requests.

You can back up and then export Bitbucket, including pull requests using Rewind app. 

DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events