JSM Workforce: Edit Schedule mutation ignores selected timezone and reverts to editor's profile timezone

XMLWordPrintable

    • 2
    • Minor
    • Warranty

      Issue Summary

      JSM Workforce Management schedules fail to persist the selected timezone and date during manual updates. The system incorrectly reverts the schedule's timezone to the editor's Atlassian profile timezone and may shift the effective date to the following month.

      Steps to Reproduce

      1. Navigate to Jira Service Management > Workforce > Schedules.
      2. Select an existing schedule and click Edit (or create a new one manually).
      3. Change the Timezone dropdown to a zone different from your own Jira profile timezone (e.g., if your profile is Europe/Belgrade, select Asia/Kolkata).
      4. Set a specific Effective Date (e.g., Oct 26).
      5. Click Update and refresh the page.
      6. Expected Results

      The schedule should be saved with the selected timezone (Asia/Kolkata)

      Actual Results

      The timezone reverts to the editor's profile timezone (Europe/Belgrade), and the date often shifts forward (e.g., to November). The useUpdateScheduleMutation sends the editor's userTimezone instead of the values.timezone selected in the UI modal.Exception/Log DetailsWhile no specific backend stack trace was provided, the HAR analysis confirms the following payload discrepancy:// Mutation: useUpdateScheduleMutation
      // Selected in UI: Asia/Kolkata (UTC+5:30)
      {
        "input": {
          "id": "a10b368f-0d4b-45fd-8f9f-e46cafd2e256",
          "timezone": "Europe/Belgrade", // Incorrect: Reverted to editor's profile zone
          "effectiveUntil": "2027-01-23T18:30:00Z" // Resulting in mixed timezone logic
        }
      }

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

              Assignee:
              Daniel Zhang
              Reporter:
              Amman Bhat
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: