Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bulk Delete issue

Zaki Hasan
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!
June 20, 2023

Hello

Have Jira Data Center.

I used "bulk delete" to delete a project.  and the next day I started getting calls from other uses that some issues got deleted in totally unrelated projects.

Not sure what is going on here, and how would bulk delete pick up issues from unrelated project.

If it is user error what would that be?

 

Thanks

Zaki Hasan

4 answers

1 accepted

1 vote
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 20, 2023 edited

Welcome to the Atlassian Community!

"Bulk delete" and "project delete" are two different things.  You can not use "bulk delete" to delete a project, it only acts upon issues.

  • Project delete is simple and does what it says on the tin.  The project, and all of its issues get killed off. 
  • Bulk delete (one of the options within "Bulk Edit") works off a search for issues.  You run a search for some issues, select bulk-edit, then delete as the action, then it offers you a preview (with the option to de-select issues in the list).

TLDR: if "issues in the wrong projects" were deleted, you either

  • Ran a search that included them and did not de-select
  • Have a script or automation that sees the "delete issue" action on an issue and looks at other things to delete.  This one is very, very obscure.  I know how to do it, because I was asked to, in the days before I had enough confidence to tell my users "Do. Not. Delete. Issues. (here's a better way to fix the problem)", but my case was "If issue deleted, also delete issues linked to it with this type of link".  You can do it.  But see below.

 

 

Aside:

There are two important things to note here

  • There is no "trash".  Once deleted, it's deleted from everything but your backups (and it's a pig to restore)
  • Project deletion only deletes the project and its issues.  It does not delete configuration items such as permission schemes, workflows, screens, and so on.  Because they may have been shared

So only delete if you really mean it.

0 votes
PRAMOD KUMAR REDDY KASIREDDY
Contributor
June 20, 2023

JQL Query should be relate to Specific Project project = 'XYZ'.

0 votes
Zaki Hasan
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!
June 20, 2023

Ojasse

 

I used projects/"project name" to get into the project and then clicked on bulk change.  I assumed only issues under "project name" would be selected.

 

Thanks

Zaki

0 votes
Ojase Emmanuval
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 20, 2023

@Zaki Hasan Have you used JQL (JIRA Search) to query the issues specific to the project and bulk delete them? If not, doing a bulk deletion may have deleted other issues too.. 

Suggest an answer

Log in or Sign up to answer