I’m working on creating release notes using the maven-changes-plugin with JIRA integration. When I run the command to generate the report, I get an error saying it can’t find a specific status.
Here’s my configuration in the POM file:
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
<version>2.12.1</version>
<configuration>
<onlyCurrentVersion>true</onlyCurrentVersion>
<issueManagementSystems>
<issueManagementSystem>JIRA</issueManagementSystem>
</issueManagementSystems>
<resolutionIds>Complete,Finished</resolutionIds>
<statusIds>Closed,Done,Testing</statusIds>
<columnNames>Type,Key,Summary,Priority,Status,Resolution,Version,Assignee</columnNames>
<webUser>{myUsername}</webUser>
<webPassword>{myPassword}</webPassword>
</configuration>
</plugin>
</plugins>
</reporting>
<issueManagement>
<system>JIRA</system>
<url>{my.jira.url}</url>
</issueManagement>
When I execute mvn changes:jira-report, I get this error:
org.apache.maven.plugin.MojoFailureException: Could not find status Closed.
at org.apache.maven.plugin.jira.RestJiraDownloader.resolveOneItem
at org.apache.maven.plugin.jira.RestJiraDownloader.resolveList
at org.apache.maven.plugin.jira.RestJiraDownloader.resolveIds
What could be causing this issue and how do I fix it?