in src/main/groovy/com/epam/esp/jira/JiraHelper.groovy [90:100]
static def List<String> extractIssues(comment) {
logger.info("comment='$comment'")
Matcher matcher = comment.toUpperCase() =~ JIRA_ISSUE_PATTERN
def result = new ArrayList<String>()
while (matcher.find()) {
def issueId = matcher.group(0)
logger.info("\tIssue detected='$issueId'")
result.add(issueId)
}
return result
}