Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to delete all the issues in the Bitbucket?

Tags:

git

bitbucket

I'm facing a "trouble in the bitbucket". I made a batch that connects the bitbucket and the trello, but now I'm facing more issues. That said, how can I delete all the issues listed in my repo without editing them individually?

like image 484
tecnocrata Avatar asked Mar 22 '17 17:03

tecnocrata


People also ask

Can we delete history from Bitbucket?

You can create a local repo that is pruned, purged, and generally to your spec. Once you've done that, you can delete the server copy. Then, create a new empty repo with the original's name, and push your pristine history to it.


1 Answers

You may just import zip archive with JSON file named db-1.0.json like this:

{
    "milestones": [],
    "attachments": [],
    "versions": [],
    "comments": [],
    "meta": {
        "default_milestone": null,
        "default_assignee": null,
        "default_kind": "bug",
        "default_component": null,
        "default_version": null
    },
    "components": [],
    "issues": [],
    "logs": []
}

For import archive go to Your repository -> Settings -> Issue -> Import & Export.

like image 56
Roman Danyk Avatar answered Oct 20 '22 06:10

Roman Danyk