How to do bulk delete in JIRA.

How to do bulk delete in JIRA.

I could not find any link for Bulk changes.

Also, after deleting project issues, i want it to start from 1 index.

using JIRA version: 5.2.11

4 answers

1 accepted

Accepted Answer
2 votes

It's under "bulk edit". Run a filter, use Options -> Bulk edit (you may need to check your global permissions to make sure you have the rights to use bulk operations), and "delete" will be one of the four options you have.

I'm not sure what you mean by "want to start from 1 index", but I'm guessing your aim is to remove all the issues in a project and reset the project key counter? If so, then you can only do this in the UI by deleting the whole project (which, of course, also deletes all the issues in it, saving you a bulk edit). Your other option is to reset the counter in SQL, but if you do it that way, it is critical that you have Jira shut down when you change it.

thanks, its fine i can remove all issues through bulk changes.

For Deleteing whole project needs to recreate the project and there can be miss some configuration. so, is there any way from UI, i can reset the counter so, new issue can start form 1.

I repeat, you can't do a "reset" in the UI.

Your SQL looks right to me (although, I cannot remember if the pcounter is "next number" or "current number". I think it should be 1, but it might be 0).

Just remember that it is *mandatory* to have Jira offline when you run this SQL. It caches the counter. (I'd also recommend backups and so-on, but this is actually a moderately simple and safe change)

can i execute -

"UPDATEproject SETpcounter='1'WHEREid=10005;" //project id is 10005.

will it make my new issue to start from 1 index ?

Hi Dhaval,

First you have to check Bulk change permission in Golbal permission, then go to issue navigator>>Tools>>bulk change>>and delete issues.

Regards

Onkar Ahire

Hi! I need to delete lots of sprints/versions massively because we have more than 100 sprints. Please which is the option? I have the jira 6.4.5 thanks

0 votes

posting on 2 year old questions that are mostly unrelated is not really useful - only the people involved in this question will see it. Try asking a new question

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

25,623 views 2 7
Join discussion

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