#set( $jira = $xmlrpc.connect("swizzletester:swizzle","http://jira.codehaus.org/rpc/xmlrpc") ) #set( $projects = $jira.getProjects().matches("name", "Maven 2.*Plugin") ) #foreach( $project in $projects ) #set( $url = "http://jira.codehaus.org/secure/IssueNavigator.jspa?view=rss&&pid=${project.id}&status=1&sorter/field=issuekey&sorter/order=DESC&tempMax=300&reset=true&decorator=none&type=-2" ) #set( $jirarss = $rss.fetch( $url ) ) #set( $project.attributes.totalVotes = $jirarss.issues.sum("votes") ) ## keep the issues in case you want them later #set( $project.attributes.issues = $jirarss.issues ) #end

Report on open issues for Maven plugins

Last Published : $date.format("EEE MMM dd HH:mm:ss z yyyy")

#foreach( $project in $projects.descending("@totalVotes") ) #end
Plugin Number of open issues Number of votes on open issues
$project.name $project.attributes.issues.size() $project.attributes.totalVotes
#foreach( $project in $projects.descending("@totalVotes") )

$project.name

$project.attributes.totalVotes votes for $project.attributes.issues.size() open issues.

#foreach( $issue in $project.attributes.issues.descending("votes") ) #set ( $fullIssue = $jira.getIssue($issue.key) ) #end
  Key Summary Votes Patch ? Testcase ?
$issue.type.name $issue.key $issue.summary $issue.votes #if ($fullIssue.customFieldValues.matches("customfieldId","customfield_10170").size()>0) X #else   #end #if ($fullIssue.customFieldValues.matches("customfieldId","customfield_10110").size()>0) X #else   #end
#end