I know that I can delete a single comment from an issue using
DELETE /rest/api/3/issue/{issueIdOrKey}/comment/{id}
I need to delete multiple comments from the same issue. How can I include more than one comment id in the command?
That's not supported :(
You could create a suggestion at https://jira.atlassian.com/browse/JRASERVER but don't hold your breath.
If you are using on-prem Jira you could use the ScriptRunner plugin to create a custom REST API to do this.
But before optimizing all this, I would get some results to prove that doing it one at a time is too slow
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.