What is the easy way to delete all the issues and projects from JIRA?

I need a new instance with a fresh installation build for my support team. I dont need projects and issues in that but i need all the schemes and custom field definitions. What is the best way for doing that?

1 answer

2 votes

Using JIRA CLI to delete projects will probably be the easiest option!


Can you please share if there is any brief notes available on runFromList ? I have around 500 projects, 5000 users and 30000 filters to delete from our intance. Please advise.

Hi Bob,

When i delete a project with 8000 issues i am getting SocketTimeOutException. Can you please advise?

Remote error: ; nested exception is:

java.net.SocketTimeoutException: Read timed out

Either subset the deletes or use the timeout support discussed with ACLI-72 . Were any of the users deleted before the timeout?

I started deleting the projects first because it deletes the issues, versions & components. I planned to delete the users after cleaning of projects. I will set the timeout and start deleting the same project again. Will it impact the jira socket connection time out if i set the connection & socket timeouts values of Confluence which was suggested in ACLI-72?

Not sure what you are saying. I would just use the connectionTimeout on the action command and hope that handles the problem.

I am able to delete the projects and users successfully. Just to have a double check, I verified and PROJECT, JIRAISSUE, CUSTOMFIELDOPTION, CWD_USER, USERBASE tables in the database and found that they are empty. I found JIRAISSUE_TEMP table is having data. Why is it so having the data? What other tables i need to verify to make sure my instance is clean. Please suggest.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,950 views 19 22
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you