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

JIRA Report for Changes plugin Invalid browse URL for issueManagement

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.12.1
    • None
    • None
    • None
    • OS: Mac
      Maven: 3.5.2
      Java: 1.8
      maven-changes-plugin: 2.12.1
      JIRA: 7+

    Description

      If the issueManagement URL is defined as a JQL query the changes plugin fails with

      10:24:52 [INFO] Generating "JIRA Report" report --- maven-changes-plugin:2.12.1:jira-report
      10:24:52 [WARNING]
      10:24:52 java.lang.IllegalArgumentException: Invalid browse URL
      10:24:52 at org.apache.maven.plugin.jira.JiraHelper.getJiraUrlAndProjectName (JiraHelper.java:229)
      10:24:52 at org.apache.maven.plugin.jira.RestJiraDownloader.doExecute (RestJiraDownloader.java:115)
      10:24:52 at org.apache.maven.plugin.jira.AdaptiveJiraDownloader.doExecute (AdaptiveJiraDownloader.java:45)
      10:24:52 at org.apache.maven.plugin.jira.JiraMojo.executeReport (JiraMojo.java:346)

      Example IssueManagement

      <issueManagement>
          <system>JIRA</system>    
          <url>https://issues.apache.org/jira/issues/?jql=component%20%3D%20changes.xml</url>
      </issueManagement>
      

      In our projects a maven artifact correlates to a JIRA component so for an individual issueManagement site URL we want to be able to see all of the issues tied to that component. This is only an issue if the jira report is used for the changes report this works without issue.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              John Fox John Fox
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m