You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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...
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.