Uploaded image for project: 'Maven Changes Plugin'
  1. Maven Changes Plugin
  2. MCHANGES-369

announcement-generate not include fixVersion filter in JQL

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.11, 2.12
    • 3.0.0, 3.0.0-M1
    • announcement
    • None

    Description

      I'm trying this plugin and when I use mvn changes:jira-report 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 generates a JQL without the 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>

      Attachments

        Issue Links

          Activity

            People

              sjaranowski Slawomir Jaranowski
              rsans Rubén Sans Mudoy
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: