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

Unable to export DateTime custom fields with dateformat

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Done
    • Release 6.0.1
    • Release 6.2.0
    • FieldMapper
    • R6.2.0 Sprint 3
    • OK

    Description

      Unable to export DateTime custom fields with dateformat.

      Steps to reproduce:

      1. Create two custom fields with types Date and DateTime.
      2. Edit an issue and add value to these custom fields
      3. On the template use the following code:
        ${dateformat(“dd-MM-yyyy”):Date}
        ${dateformat(“dd-MM-yyyy HH:mm:ss”):DateTime}
        
      4. The DateTime is not exported (The mapping is not added to the data map. I believe it has something to do with the regex and the ":" on the dateformat string).

      Attachments

        Activity

          People

            tfsi Tiago Silva [X] (Inactive)
            hjfr Hugo Rodrigues [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 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 - 5 hours, 30 minutes
                5h 30m