Uploaded image for project: 'Xporter for Jira'
  1. Xporter for Jira
  2. XPORTER-768

Iterations on Header and Footer aren't being populated

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Release 3.4.12, Release 4.1.4
    • 5.0.0, 5.0.0-j6
    • None
    • None
    • R5.0.0 Sprint 4
    • UNCOVERED

    Description

      Currently, when trying to print an iteration on the header/footer of a template, the data isn't being printed on the generated document.

      An example is:

      &{for issues|filter=%{${BulkIssueIndex} == 0}}
      Release Notes for ${ProjectName} - ${FixVersions}
      &{end}

      But if the same iteration is present on the body of that template, then the data is properly printed either on the document's header/footer and on its body.
      I've attached a working template. In order for it to fail, just remove the mapping from the body.

      Attachments

        1. XPORTERSUPPORT-359.docx
          15 kB
        2. XPORTER-768 new.docx
          14 kB
        3. test768_header_withBody.docx
          14 kB
        4. test768_header_noBody.docx
          14 kB
        5. test768_header_footer_withBody.docx
          15 kB
        6. test768_header_footer_noBody.docx
          14 kB
        7. test768_footer_withBody.docx
          14 kB
        8. test768_footer_noBody.docx
          16 kB

        Issue Links

          Activity

            People

              sdrg sdrg
              pmmr Pedro Rodrigues
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1 week, 4 days
                  1w 4d
                  Remaining:
                  Time Spent - 1 day, 3 hours, 30 minutes Remaining Estimate - 1 week, 2 days, 4 hours, 30 minutes
                  1w 2d 4h 30m
                  Logged:
                  Time Spent - 1 day, 3 hours, 30 minutes Remaining Estimate - 1 week, 2 days, 4 hours, 30 minutes
                  1d 3h 30m