Uploaded image for project: 'Xray for Jira'
  1. Xray for Jira
  2. XRAY-11166

Updated field not reflecting the correct date in Jira API when updating test runs

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Xray DC 7.14.1
    • None
    • Indexing
    • None
    • Data Center

    • UNCOVERED

    Description

      Description
      When updating a test run, while having the Enable Test Run Status history log in Test Executions  Xray Miscellaneous option enabled, the Updated date of the test execution is updated correctly in the UI but when calling the Jira API it returns the old date.

      Pre-conditions

      • Create a test run 
      • Enable "Enable Test Run Status history log in Test Executions" option from project settings

      How to reproduce

      1. Update the test run Status in a Test Execution to a different status
      2. Refresh the page
      3. Observe the new date in the Updated field
      4. Call the Jira API to retrieve the Test Execution issue (https://BASEURL/rest/api/2/search?jql=key IN ('TEST EXECUTION KEY'))

      Actual result/Attachments

      The Updated date retrieved via the API is the old date

      Expected result

      The Updated date matches the one in the Test Execution UI

      Version

      • Xray DC 7.14.1-j10

      Workaround

      Re-index the instance to retrieve the correct values

      Attachments

        Activity

          People

            joana.fonseca Joana Fonseca
            goncalo.nunes Gonçalo Nunes
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: