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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Export / Import Bitbucket project, including Pull Requests

Edited

Hi,

 

We're evaluating Bitbucket for use within our company. We are a consultancy, and will be hosting projects for multiple clients on the same Bitbucket server. At the end of the project, we will need to export the entire project (including all Pull Requests, with all comments) and give it to the client.

 

Is this possible? GitLab has an 'export project' feature, does Bitbucket have something similar (I haven't been able to find mention of it)? Alternatively could we write something using the API: is it possible to create a Pull Request containing all of the comments, discussion, tasks, dates, etc, that were in a prior exported Pull Request?

 

Thanks in advance,

Antony

1 answer

0 votes
Caterina Curti
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Oct 18, 2017

Hi Antony,

At the moment, this feature is not available in Bitbucket Server and we have an open feature request here:

https://jira.atlassian.com/browse/BSERV-4586

 

For sure you could use the REST APIs to retrieve and create the data (e.g. this is the Pull request end point and this is the comment one).

 

You can always import the Git repository itself (including the entire history) by following the instructions on the Importing code from an existing project page.

 

Let us know how it goes.

Caterina

Hi Caterina,

Thanks for your response.

So it is possible to create a Pull Request using the Rest API which looks identical to a historic Pull Request on another system, including all timestamps, comments, users associated with the comments, etc?

Thanks,

Antony

Like Bartosz Kopanczyk likes this

Hi @Caterina Curti ,

Now is there any feature , where we can export pull request as well from bitbucket ?

Thanks.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events