Forums

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

Deleting all the messages/open duties

Eveliina Kauppinen
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!
March 4, 2020

Hey, 

Is it possible to delete all the messages/open duties at one time? I have only found the possibility to do it one by one. 

 

With br, 

 

Eveliina

1 answer

0 votes
Earl McCutcheon
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 5, 2020

Hello @Eveliina Kauppinen ,

Are you looking to delete the entire issue or just the comments on an issue?

If your looking to bulk delete the issues, this can be done using the bulk operations detailed in the following document:

However if you are looking to delete comments there is not a method to do this action in bulk and from the UI each delete is a one off action. 

However an alternative to doing this by hand you could look into writing a custom script to do a delete action using the REST API.  First you could pull the comment IDs from the issue you want to remove via a "GET /rest/api/3/issue/{issueIdOrKey}/comment" , then inputing the comment IDs into the delete action via a "DELETE /rest/api/3/issue/{issueIdOrKey}/comment/{id}" 

Regards,
Earl

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events