[ http://jira.codehaus.org/browse/MCHANGES-204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=229615#action_229615
]
Krashan Brahmanjara commented on MCHANGES-204:
----------------------------------------------
Better patch - sometimes version is set but fix version not
String fixVersion = issue.getFixVersion();
if (fixVersion==null)
fixVersion = issue.getVersion();
if ( fixVersion == null || fixVersion.equals( releaseVersion ) || fixVersion.equals(
currentVersion )) {
> Invalid jire task 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
> - //if ( issue.getFixVersion() != null && issue.getFixVersion().equals( releaseVersion
) )
> + if ( issue.getFixVersion() == null || issue.getFixVersion().equals( releaseVersion
) || issue.getFixVersion().equals( currentVersion ))
--
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
|