Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-15811

Sprint End date disregards date picker advanced setting when duration is not custom

      Summary

      Sprint End date disregards date picker advanced setting when duration is not custom

      Steps to reproduce the problem

      1. Configure advanced configuration datepicker as follow:
        • jira.date.time.picker.java.format : dd.MM.yyyy HH:mm
        • jira.date.time.picker.javascript.format : %d.%m.%y %I:%M
      2. Create a sprint > allocate issues
      3. Start sprint > choose duration of 1 week (any option other than custom)

      Expected Result

      Date picker will show the date following the advanced configuration

      Actual Result

      Date picker does not follow the date picker format

      This problem does not happen if user choose custom duration as default:

      If the user chooses non-custom duration initially, and then switch back to custom, the end date will still show the wrong format of the year.

       

      Workaround

      1. Select "Custom" duration.
      2. In some cases, user will have to remove the AM or PM in the Start/End date.

        1. custom.png
          142 kB
        2. image-2017-04-14-16-24-48-363.png
          44 kB
        3. image-2017-04-14-16-32-16-743.png
          50 kB
        4. notcustom.png
          140 kB

            [JSWSERVER-15811] Sprint End date disregards date picker advanced setting when duration is not custom

            Richard Bone added a comment - - edited

            Workaround is to create the sprint using the custom option and set it for 11 days so the end date is on a Saturday and only uses 10 working days. 

             

            Richard Bone added a comment - - edited Workaround is to create the sprint using the custom option and set it for 11 days so the end date is on a Saturday and only uses 10 working days.   

            When I switch to custom, the year still doesn't change to 2017 (still 17). Even when using the datepicker, it returns 17.

            Interestingly, I cannot start the sprint, neither in custom nor in week duration setting.

            As we were able to start sprints during some days, I suspect there is an issue with JIRA mixing up month and day. Having erroneous dates in the database (negative values) is a major issue as these need to be manually corrected (and we don't know how yet).

            Please escalate, this renders the sprint functionality completely broken. Thank you!

             

            FrankTrautwein added a comment - When I switch to custom, the year still doesn't change to 2017 (still 17). Even when using the datepicker, it returns 17. Interestingly, I cannot start the sprint, neither in custom nor in week duration setting. As we were able to start sprints during some days, I suspect there is an issue with JIRA mixing up month and day. Having erroneous dates in the database (negative values) is a major issue as these need to be manually corrected (and we don't know how yet). Please escalate, this renders the sprint functionality completely broken. Thank you!  

              Unassigned Unassigned
              azuhra Aqqiela
              Affected customers:
              9 This affects my team
              Watchers:
              9 Start watching this issue

                Created:
                Updated: