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,560,550
Community Members
 
Community Events
185
Community Groups

How do I delete more than 100 thousand issues from a specific year at once?

rksanchez
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!
Apr 28, 2023

I can only delete 50 issues at once and manually

3 answers

Hi,

By default, Jira will let you "bulk change" up to 1000 issues if you are using "Advanced Issue Search" screen.

If you find this too much time consuming then I suggest you to create an automation like this:

forcommunity.png

You can create this as a global automation that will search for every issue or project-specific automation if you don't have a premium product. This will also let you systematically delete issues using a JQL like "createddate <= -2y" in the scheduled trigger.

It will probably run into throttled status a few times until all issues are deleted if you have 100k issues.

Hi @rksanchez – Amelie from the Appfire team here. As @Deniz Tımartaş mentioned, Jira natively only lets you bulk-change a smaller number of issues.

In your case, you could try Jira CLI. Jira CLI would allow you to get an issue list, use JQL to only select certain issues by year, and then delete all those issues.

Here's more information about the getIssueList action I mentioned above!

Let me know if you need help.

Cheers, Amelie

Hello @rksanchez

the best way to handle that amount of issues would be to either use a Script or make a database statement.

You could try installing Scriptrunner and deleting the issue by script execution.

https://marketplace.atlassian.com/apps/6820/scriptrunner-for-jira?hosting=cloud&tab=overview

 

If you have any further questions feel free to ask them! 😊

 

Kind regards

Brian Trepto

Atlassian Consultant

STAGIL GmbH - Platinum Solution Partner 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events