Trim comments on Issues which exceed a maximum number of comments
Overview
Trim down comments on all issues which exceed specified number of comments on them inside a project.
Example
As a project manager I want to clear up comments on issues with over 25 comments on to keep my backlog in a refined state.
Good to Know
- This script removes the oldest comments first.
- This script uses the numberOfComments JQL Keyword provided by ScriptRunner for Jira Cloud.