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

functions aren't working when applying to a mapping with a list of values

    XporterXMLWordPrintable

    Details

    • Sprint:
      R5.2.0 Sprint 1
    • Automated Test Case:
      Hide
      Automation v7:
      Word:testTemplate60
      Excel:testSuite49FixVersionsDateFormat
      Automation v6:
      Word:testTemplate60
      Excel:testSuite49FixVersionsDateFormat
      Show
      Automation v7: Word:testTemplate60 Excel:testSuite49FixVersionsDateFormat Automation v6: Word:testTemplate60 Excel:testSuite49FixVersionsDateFormat
    • Requirement Status:

      Release 5.1.1 - OK

      Release 5.1.1-j6 - OK

      Description

      When we have a mapping that returns a list of values (FixVersionsReleaseDate, list of dates) and we want to apply a formatter (dateformat), the formatter will fail and return the list unformatted.

      The formatter should be applied to each value of the list.

      Ex.

      4.3.9 5.0.0
      exporting an issue with 1 fix version:
      ${FixVersionsReleaseDate}:
      20-01-2017
      
      ${dateformat("yyyy-MM-dd"):FixVersionsReleaseDate}:
      2017-02-20
      

      exporting an issue with 2 fix versions:

      ${FixVersionsReleaseDate}:
      22-11-2016
      20-01-2017
      
      ${dateformat("yyyy-MM-dd"):FixVersionsReleaseDate}:
      
      
      exporting an issue with 1 fix version:
      ${FixVersionsReleaseDate}:
      2017-02-20T00:00:00Z[Europe/Lisbon]
      
      ${dateformat("yyyy-MM-dd"):FixVersionsReleaseDate}:
      2017-02-20
      

      exporting an issue with 2 fix versions:

      ${FixVersionsReleaseDate}:
      2016-11-22T00:00:00Z[Europe/Lisbon]
      2017-02-20T00:00:00Z[Europe/Lisbon]
      
      ${dateformat("yyyy-MM-dd"):FixVersionsReleaseDate}:
      2016-11-22T00:00:00Z[Europe/Lisbon]
      2017-02-20T00:00:00Z[Europe/Lisbon]
      

        Attachments

          Activity

            People

            • Assignee:
              sdrg Severino Goios
              Reporter:
              mfda Miguel Aroucha
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 30 minutes
                1h 30m