You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dennis Lundberg (JIRA)" <ji...@codehaus.org> on 2010/07/23 12:40:32 UTC
[jira] Commented: (MCHANGES-204) Invalid JIRA issues are selected
to report
[ http://jira.codehaus.org/browse/MCHANGES-204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=229620#action_229620 ]
Dennis Lundberg commented on MCHANGES-204:
------------------------------------------
It sound to me like you are using JIRA in a very unusual way.
The "fix for" version in JIRA should *not* contain a "-SNAPSHOT" suffix. It should be set to a version to be released, and you don't release SNAPSHOTs.
The plugin will only fetch issues that has a "fix for" version set. There is no meaning in fetching issues without a fix for version, because the plugin have no idea which release they belong to.
> Invalid JIRA issues are selected to report
> ------------------------------------------
>
> Key: MCHANGES-204
> URL: http://jira.codehaus.org/browse/MCHANGES-204
> Project: Maven 2.x Changes Plugin
> Issue Type: Improvement
> Components: jira-report
> Affects Versions: 2.3
> Reporter: Krashan Brahmanjara
>
> If Jira contains tasks for version not specified or version with '-SNAPSHOT' suffix that are no reported items.
> Current code cut -SNAPSHOT from current version so nothing is selected.
> Patch for JiraReportGenerator
> line 409
> {noformat}
> - //if ( issue.getFixVersion() != null && issue.getFixVersion().equals( releaseVersion ) )
> + if ( issue.getFixVersion() == null || issue.getFixVersion().equals( releaseVersion ) || issue.getFixVersion().equals( currentVersion ))
> {noformat}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira