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

If condition with javascript is not executing the content when evaluates as true

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • Release 5.4.1
    • Release 5.7.0
    • None
    • None
    • R5.7.0 Sprint 2
    • OK

    Description

      When in a template:

      1. Using the If condition with javascript functions, like indexOf
      2. And the content being evaluated has a single quote in the middle of the text (example: didn't)

      The output:

      1. Although evaluating the if condition as true
      2. Does not perform the content of the if statement

      Attachments

        Activity

          People

            tfsi Tiago Silva [X] (Inactive)
            rmsp Rogerio Paiva [X] (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 6 hours, 30 minutes
                6h 30m