Although the last run of a Test was passed, the Requirement Status of the linked issue is not taking the latest execution result:
![Product Support Knowledge Base > [Xray Server] Wrong Execution Result is taken over to Requirement Status > image2021-1-29_17-41-49.png](/download/attachments/68412305/image2021-1-29_17-41-49.png?version=1&modificationDate=1611942630518&api=v2)
![Product Support Knowledge Base > [Xray Server] Wrong Execution Result is taken over to Requirement Status > image2021-1-29_17-43-7.png](/download/attachments/68412305/image2021-1-29_17-43-7.png?version=1&modificationDate=1611942630509&api=v2)
Xray has a Tool called Final statuses have precedence over non-final statuses; when it is Unchecked, the Latest Test Run Status Calculation will always consider the Latest Created Test Run.
Now, a Test Run is only created when a Test is associated with a Test Execution.
In the provided example, the Test Execution with the key 680[PASS] was created after 669[FAIL], but the Test Execution 680[PASS] was associated with the Test before the 669[FAIL], so the latest Test Run is from 669[FAIL].
The mentioned option is in Jira Administration → Manage apps → Manage Test Statuses:
![Product Support Knowledge Base > [Xray Server] Wrong Execution Result is taken over to Requirement Status > image2021-1-29_17-50-12.png](/download/attachments/68412305/image2021-1-29_17-50-12.png?version=1&modificationDate=1611942630492&api=v2)