Uploaded image for project: 'Elements Connect'
  1. Elements Connect
  2. CO-3622

Impossible to set a Snapshot Date field because of an inconsistency between formats

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 6.0.8
    • Fix Version/s: 6.3.1
    • Labels:
    • Functional components:
      Custom field - Date
      Runtime - Field Edition

      Description

      How to reproduce

      • Create a dummy Snapshot Date field
      • Query: SELECT * FROM JIRAISSUE WHERE ID = $issue.id
      • Source: CREATED
      • Pattern: yyyy-MM-dd
      • Create a ticket
      • In the "Look and Feel" administration menu of Jira, use a different "Day/Month/Year Format" format than the format defined in the "Advanced Settings" of the "General configuration" administration menu of Jira for "jira.date.picker.java.format".
      • For example:
        • Day/Month/Year Format = dd.MMM.yy
        • jira.date.picker.java.format = d/MMM/yy
      • Put the field on the Edit screen
      • Edit the ticket, and save

      Expected

      • Everything works perfectly, the date is well saved

      Current

      • "Error (undefined) occurred while contacting server: undefined"
      • Or: "Invalid date format. Please enter the date in the format "d/MMM/yy".
      • In the log:
        /rest/nfeed/3.0/nFeed/field/input/options [c.v.j.p.s.f.rest.v3.RuntimeFieldService] Error while building input options
        com.atlassian.jira.issue.customfields.impl.FieldValidationException: Invalid date format. Please enter the date in the format "d/MMM/yy".
        

      Workaround

      • Use the same format for both settings

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              nicolas.esteves@valiantys.com Nicolas Esteves
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: