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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 10.132.0
    • Affects Version/s: 10.125.3
    • Component/s: REST API

      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

            Assignee:
            Yannick Genin
            Reporter:
            Raymond Enechukwu (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: