Forums

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

Scriptrunner: bulk delete resolved inline comments

Céline - Maestrel
Contributor
March 9, 2025

Hi,

I am new to Confluence. I would like to be able to bulk delete all inline comments that are "resolved", for a space (or all spaces, actually). I have ScriptRunner for Confluence. If anyone has already such script, that would be very helpful! I will start learning how to write scripts, but thought I will ask here as well. :-)

Kind regards,

Céline

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Kristian Walker _Adaptavist_
Community Champion
April 17, 2025

Hi Celine,

I do not have a script to do this but can confirm to do this you would need to write a script to first call the Get Inline Comments API to return all inline comments.

Then you will need to loop over these and call the Delete inline comment API to delete the comments by passing in their ID.

I hope this helps,

Regards,

Kristian

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events