Uploaded image for project: 'Jira Service Management Cloud'
  1. Jira Service Management Cloud
  2. JSDCLOUD-10798

Forms date does not parse correctly - fail validation when linked to a Jira date field and using any date format but the default

XMLWordPrintable

      Issue Summary

      Form will not submit if a date field is linked to a forms field when Jira Advanced settings are using any date format but the default

      Steps to Reproduce

      1. Have a date field linked to a Jira date field
      2. Use the date format dd.MM.yyyy or any other option that is different than the default under Jira Advanced settings for jira.date.picker.java.format

      https://confluence.atlassian.com/jira/changing-the-due-date-input-format-192536.html

      Expected Results

      For the form to submit and the field to be updated

      Actual Results

      Console logs an POST with error 400

      {"errors":[{"errorMessage":"Please provide a valid value for field 'Due date","field":"duedate"}],"reasonKey":"validation.error","reasonCode":"400"}
      

      Workaround

      Change the Advanced setting to d/MMM/yy

              290fa2844649 Julian G
              79302268a842 Ana Viseu
              Votes:
              7 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: