Uploaded image for project: 'Xporter for Jira Cloud'
  1. Xporter for Jira Cloud
  2. XPORTERCLOUD-2333

Xporter Cloud doesn't export when there's a .replace js function

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Medium
    • Resolution: Fixed
    • Xporter Cloud 2.2.1
    • FPC#8, Xporter Cloud 2.2.3
    • Xporter Engine
    • None
    • N/A

    • OK

    Description

      Description
      Xporter doesn't export anything when there's a .replace js function

      How to reproduce

      1. create a template that contains the following .replace function
        e.g.  %{'${Description}'.replace(/a/g,"This is a Test");}
        This should replace all the A's in the issue description with 'This is a Test'
        
      2. export the template form an issue where the replace function would apply
        (in this example, any issue with 'a' in the Description)

      Actual result/Attachments
      Export is empty

      Expected result
      .replace function should be applied and template fully exported

      Workaround
      Use Doc Gen

      Attachments

        Issue Links

          Activity

            People

              rmbr Rui Rodrigues
              joao.silva João Silva
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: