Text output of release notes generates lots of extra whitespace when project has numerous unused issuetypes

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 7.4.2, 7.5.0, 7.13.1, 7.13.5
    • Component/s: Release Hub
    • 7.04
    • 1
    • Severity 3 - Minor
    • 0

      Summary

      In JIRA Software, when using the release note creation feature, you have two options HTML or text. When selecting the text option, the output can become full of lots of extra carriage returns and unneeded whitespaces

      Environment

      Only when selecting the text output, the HTML output does not appear to be effected

      Steps to Reproduce

      1. create a software project
      2. make sure this project has at least 10 different issuetypes in it (the more issuetypes the project has, the easier it is to see this bug later)
      3. Then make sure that all the issues in the release are of just a single issue type
      4. create release notes

      Expected Results

      text output contains all the issues in the release with minimal extra whitespaces

      Actual Results

      It appears that the text output is creating a single carriage return for each issue type in the project, even if no issues of that type exist in the release.

      Notes

      This would be difficult to notice if you only had say 3-5 issuetypes in a project, but when you have 10-20 issuetypes in a project and the release only contains a single issue type, you can expect to see this specific problem.

      Workaround

      • This appears to be governed by the <jira-application-dir>/WEB-INF/classes/templates/jira/project/releasenotes/releasenotes-text.vm
      • There looks to be an additional carriage return on line 40 of that template that is forcing this space in for each issuetype being looked for here.

            Assignee:
            Unassigned
            Reporter:
            Andy Heinzer (Inactive)
            Votes:
            9 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: