You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Rubén Sans Mudoy (JIRA)" <ji...@apache.org> on 2016/03/30 12:29:25 UTC

[jira] [Created] (MCHANGES-369) announcement-generate not include fixVersion filter in JQL

Rubén Sans Mudoy created MCHANGES-369:
-----------------------------------------

             Summary: announcement-generate not include fixVersion filter in JQL
                 Key: MCHANGES-369
                 URL: https://issues.apache.org/jira/browse/MCHANGES-369
             Project: Maven Changes Plugin
          Issue Type: Bug
          Components: announcement
    Affects Versions: 2.11
            Reporter: Rubén Sans Mudoy
            Priority: Critical


I'm trying this plugins and when I use mvn changes:jira-report it generates that JQL:

Payload: {"jql":"project = API AND fixVersion = m3 AND status in (6, 5) AND resolution in (1, 7) ORDER BY priority DESC, created DESC","maxResults":500,"fields":["*all"]}

but when I use mvn changes:announcement-generate it generates a JQL without de fixVersion filter.

Payload: {"jql":"project = API AND status in (6, 5) AND resolution in (1, 7)","maxResults":500,"fields":["*all"]}

In both cases the plugin configuration is the same. I need to generate release notes in plain text.

This is the plugin configuration:

<plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-changes-plugin</artifactId>
        <version>2.11</version>
        <executions>
          <execution>
            <id>include-announcement-file</id>
            <phase>generate-resources</phase>
            <goals>
              <goal>announcement-generate</goal>
            </goals>
            <configuration>
              <announcementFile>CHANGES.txt</announcementFile>
              <announcementDirectory>${project.build.outputDirectory}/META-INF</announcementDirectory>
            </configuration>
          </execution>
        </executions>
        <configuration>
          <announcementFile>CHANGES.txt</announcementFile>
          <announcementDirectory>${project.build.outputDirectory}/META-INF</announcementDirectory>
          <developmentTeam>The Team</developmentTeam>
          <maxEntries>500</maxEntries>
          <issueManagementSystems>
            <issueManagementSystem>JIRA</issueManagementSystem>
          </issueManagementSystems>

          <useJql>true</useJql>
          <onlyCurrentVersion>true</onlyCurrentVersion>
          <resolutionIds>Fixed,Done</resolutionIds>
          <statusIds>Closed,Resolved</statusIds>
          <columnNames>Type,Key,Summary,Priority,Status,Resolution,Fix Version,Assignee</columnNames>
          <webUser>*****</webUser>
          <webPassword>*****</webPassword>
        </configuration>
      </plugin>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)