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

Some variable values don't work when inside IF conditions

    XporterXMLWordPrintable

    Details

      Description

      The dateformat function does not work inside an if condition.
      Example:
      This works: %{if (1) {'${Created}'}}
      This does not: %{if (1) {'${dateformat("dd/MM/yyyy"):Created}'}}

      The problem also happens when using Xporter if condition (in single line) with complex variable names:
      This works: ${JQLIssues[j].TRIP: Advance report row document date}
      This does not: #{if (%{true})} "${JQLIssues[j].TRIP: Advance report row document date}" #{end}

        Attachments

          Activity

            People

            Assignee:
            rmbr Rui Rodrigues
            Reporter:
            rmsp Rogério Paiva
            Votes:
            2 Vote for this issue
            Watchers:
            2 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 - 2 days, 3 hours, 45 minutes
                2d 3h 45m