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

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,552,107
Community Members
 
Community Events
184
Community Groups

Download fails when downloading issues export

davidartrecord
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!
Mar 22, 2023

When I click the issues export zip link, it starts downloading the approx 238MB file. But at around 141MB it fails over and over again.

I got the modal window that says "Issue export complete" which provided the zip link.

Is there a workaround for this bug?

 

P.S.: Not sure if this is related but a few minutes earlier I had tried to generate the export and got this error in an email notification:

Error exporting attachment: logo-white.svg: b':dev:557058:adf067a4-81b6...

 

1 answer

0 votes
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Mar 23, 2023

Hello @davidartrecord ,

Thank you for reaching out to Atlassian Community!

I understand you are trying to export the issues from your repository using the UI and the download is not completing. In this case, I would ask you to try exporting the issues using our public API endpoint Bitbucket Cloud API - Export Issues and check if using the API the download succeeds.

Following are the instructions on how to use the API to export your issues : 

1. Make a request to the Export Issues endpoint with '-v' verbose.
Example curl request:

 curl -v -X POST -u "username:AppPassword" https://api.bitbucket.org/2.0/repositories/workspaceId/reposlug/issues/export 

 Make sure to replace username, app password, workspace and repository.

The response of that API will contain a field named Location similar to the below:

 Location: https://api.bitbucket.org/2.0/repositories/workspaceID/reposlug/issues/export/reposlug-issues-taskid.zip 

Along with the status of the export:

 {"status": "ACCEPTED", "count": 0, "pct": 0, "phase": "Initializing", "total": 0, "type": "issue_job_status"}    

2. Since the export archive may take time to complete depending on the size of the issue,  you can check the status of the export using Check issue export API.

Example curl request:

 curl -X GET -u "username:AppPassword" "https://api.bitbucket.org/2.0/repositories/workspaceID/reposlug/issues/export/reposlug-issues-taskid.zip" 

 Make sure to replace with the the Location URL from step 1.

3. Once the status is complete, you can use the below curl command to download the file locally:

Example curl request:

curl --location -v -X GET -u "username:AppPassword" "https://api.bitbucket.org/2.0/repositories/workspaceID/reposlug/issues/export/reposlug-issues-taskid.zip" -O 

Make sure to replace with the the Location URL from step 1.

Once the download is completed, you should be able to see "reposlug-issues-taskid.zip" file locally.

You can try using the workaround above and let us know how it goes.

In case you have any questions, feel free to ask.

Thank you, @davidartrecord !

Patrik S

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events