Uploaded image for project: 'Jira Align'
  1. Jira Align
  2. JIRAALIGN-6090

API 2.0: Inconsistency With Date/Time When Item Is Created Via API And UI

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 10.132.0
    • 10.125.3
    • REST API
    • 2
    • Severity 2 - Major
    • No

      Issue Summary

      When work items are created through the UI and through the API, the dates (created and last updated) fields are not consistent.
      The Timezone for the datetime captured when created through the API do not match the Timezone for the datetime captured when created through UI.
      This affects multiple work item types and object, Epics, Defects, Features, Program etc

      Steps to Reproduce

      1. Create an Epic through the application UI
      2. Make a GET call for the created Epic and note the createdDate and lastUpdatedDate
      3. Create an Epic with the POST api call
      4. Note the createdDate and lastUpdatedDate in the response for the POST api call

      Expected Results

      The timezone for the datetime recorded in both instances is the same (UTC)

      Actual Results

      The timezone for the datetime of the item created through the UI is the Server Timezone.
      The timezone for the datetime in the create response of the API POST call, is UTC

      Workaround

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

              fea1a6ef3355 Yannick Genin
              6ec424453bfd Raymond Enechukwu
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: