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

Working Days tab in Board doesn't load when the timezone is set to Europe/Kiev

XMLWordPrintable

      Issue Summary

      This is reproducible on Data Center: (yes)

      When the timezone for Working Days in the board configuration is set to Europe/Kiev the board misbehaves. The tab for Working Days doesn't load and adding new admins results in an error.

      Steps to Reproduce

      1. Install Jira Software 9.12.x
      2. Create a Sofware project and a board.
      3. Go to Configure Board, Working Days tab and set timezone to Europe/Kiev
      4. Upgrade Jira to 9.13.x or newer
      5. Go to <instance-url>/RapidView.jspa?rapidView=<rapid-view-id>&tab=time

      Expected Results

      The tab loads.

      Actual Results

      The below exception is thrown on the bottom of the page:

      An error occurred
      Hide…
      Please try refreshing the page, or contact your administrator / Atlassian Support if the problem continues.
      Details
      Exception: Uncaught TypeError: Cannot read properties of undefined (reading 'regionKey')
      Resource: <instance-url>/secure/RapidView.jspa?rapidView=<rapidboard-id>&tab=time
      Line: 428
      Column: 26573
      Environment
      Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
      Stack trace
      TypeError: Cannot read properties of undefined (reading 'regionKey')
      at Object.getRegionKeyForTimeZoneId (<instance-url>/s/ce6a7a6a1fe7eca51ac54a3da4bd4b05-T/-ls8imj/9170000/xt0jra/872da0c1a6dad5128755392421efda34/_/download/contextbatch/js/gh-rapid-exception,greenhopper-rapid-non-gadget,gh-rapid-config,atl.general,jira.global,jira.general,-_super/batch.js?_v=cb5d015&agile_global_admin_condition=true&baseurl-check-resources=true&csp_AddGhDependencyCondition=true&csp_IsSysAdminCondition=true&flexboards=true&healthcheck-resources=true&jag=true&jaguser=true&locale=en-UK&slack-enabled=true&user-logged-in=true:52885:65375)
      at Object.renderTimeZoneConfig (<instance-url>/s/ce6a7a6a1fe7eca51ac54a3da4bd4b05-T/-ls8imj/9170000/xt0jra/872da0c1a6dad5128755392421efda34/_/download/contextbatch/js/gh-rapid-exception,greenhopper-rapid-non-gadget,gh-rapid-config,atl.general,jira.global,jira.general,-_super/batch.js?_v=cb5d015&agile_global_admin_condition=true&baseurl-check-resources=true&csp_AddGhDependencyCondition=true&csp_IsSysAdminCondition=true&flexboards=true&healthcheck-resources=true&jag=true&jaguser=true&locale=en-UK&slack-enabled=true&user-logged-in=true:52885:64638)
      at Object.renderTab (<instance-url>/s/ce6a7a6a1fe7eca51ac54a3da4bd4b05-T/-ls8imj/9170000/xt0jra/872da0c1a6dad5128755392421efda34/_/download/contextbatch/js/gh-rapid-exception,greenhopper-rapid-non-gadget,gh-rapid-config,atl.general,jira.global,jira.general,-_super/batch.js?_v=cb5d015&agile_global_admin_condition=true&baseurl-check-resources=true&csp_AddGhDependencyCondition=true&csp_IsSysAdminCondition=true&flexboards=true&healthcheck-resources=true&jag=true&jaguser=true&locale=en-UK&slack-enabled=true&user-logged-in=true:52885:64447)
      at Object.init (<instance-url>/s/ce6a7a6a1fe7eca51ac54a3da4bd4b05-T/-ls8imj/9170000/xt0jra/872da0c1a6dad5128755392421efda34/_/download/contextbatch/js/gh-rapid-exception,greenhopper-rapid-non-gadget,gh-rapid-config,atl.general,jira.global,jira.general,-_super/batch.js?_v=cb5d015&agile_global_admin_condition=true&baseurl-check-resources=true&csp_AddGhDependencyCondition=true&csp_IsSysAdminCondition=true&flexboards=true&healthcheck-resources=true&jag=true&jaguser=true&locale=en-UK&slack-enabled=true&user-logged-in=true:52885:64361)
      at q.renderEditScreen (<instance-url>/s/ce6a7a6a1fe7eca51ac54a3da4bd4b05-T/-ls8imj/9170000/xt0jra/872da0c1a6dad5128755392421efda34/_/download/contextbatch/js/gh-rapid-exception,greenhopper-rapid-non-gadget,gh-rapid-config,atl.general,jira.global,jira.general,-_super/batch.js?_v=cb5d015&agile_global_admin_condition=true&baseurl-check-resources=true&csp_AddGhDependencyCondition=true&csp_IsSysAdminCondition=true&flexboards=true&healthcheck-resources=true&jag=true&jaguser=true&locale=en-UK&slack-enabled=true&user-logged-in=true:52885:2651)
      at Array. (<instance-url>/s/ce6a7a6a1fe7eca51ac54a3da4bd4b05-T/-ls8imj/9170000/xt0jra/872da0c1a6dad5128755392421efda34/_/download/contextbatch/js/gh-rapid-exception,greenhopper-rapid-non-gadget,gh-rapid-config,atl.general,jira.global,jira.general,-_super/batch.js?_v=cb5d015&agile_global_admin_condition=true&baseurl-check-resources=true&csp_AddGhDependencyCondition=true&csp_IsSysAdminCondition=true&flexboards=true&healthcheck-resources=true&jag=true&jaguser=true&locale=en-UK&slack-enabled=true&user-logged-in=true:52885:1580)
      at i (https://dc6gx05b7igp3.cloudfront.net/s/14ce372441b8d103061bdabad7ba4c21-CDN/-ls8imj/9170000/xt0jra/0597a98aff0fed702e673d78e6917ba6/_/download/contextbatch/js/_super,-com.atlassian.plugins.atlassian-plugins-webresource-rest:data-collector-perf-observer,-jira.webresources:resource-phase-checkpoint-init/batch.js?locale=en-UK:123:22860)
      at Object.fireWith [as resolveWith] (https://dc6gx05b7igp3.cloudfront.net/s/14ce372441b8d103061bdabad7ba4c21-CDN/-ls8imj/9170000/xt0jra/0597a98aff0fed702e673d78e6917ba6/_/download/contextbatch/js/_super,-com.atlassian.plugins.atlassian-plugins-webresource-rest:data-collector-perf-observer,-jira.webresources:resource-phase-checkpoint-init/batch.js?locale=en-UK:123:23641)
      at Object. (https://dc6gx05b7igp3.cloudfront.net/s/14ce372441b8d103061bdabad7ba4c21-CDN/-ls8imj/9170000/xt0jra/0597a98aff0fed702e673d78e6917ba6/_/download/contextbatch/js/_super,-com.atlassian.plugins.atlassian-plugins-webresource-rest:data-collector-perf-observer,-jira.webresources:resource-phase-checkpoint-init/batch.js?locale=en-UK:123:24852)
      at i (https://dc6gx05b7igp3.cloudfront.net/s/14ce372441b8d103061bdabad7ba4c21-CDN/-ls8imj/9170000/xt0jra/0597a98aff0fed702e673d78e6917ba6/_/download/contextbatch/js/_super,-com.atlassian.plugins.atlassian-plugins-webresource-rest:data-collector-perf-observer,-jira.webresources:resource-phase-checkpoint-init/batch.js?locale=en-UK:123:22860)

      Workaround

      Before, perform a backup of the database.

      You can update the value for the timezone directly from the database (the sql for postgres):

      update "AO_60DB71_WORKINGDAYS" set "TIMEZONE"='Europe/Kyiv' where "TIMEZONE" like '%Europe/Kiev%';

      To check which boards have been changed:

      select * from "AO_60DB71_WORKINGDAYS" where "TIMEZONE" like '%Europe/Kiev%';
      select * from "AO_60DB71_WORKINGDAYS" where "TIMEZONE" like '%Europe/Kyiv%';

      In order to see the change the user needs to clear the cookies in the browser and relogin.

              agniadzik Artur Gniadzik
              5b2ccddb8927 Anna Przybycień (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: