Forum Discussion

ak123's avatar
ak123
New Contributor
30 days ago

Assistance to retrieve lastexecutiondatetime for a Test Case via an API Call

Hi ,

I was trying to access the GET /testcase/search API and wanted to know if it is possible to view the Last execution Date and Time for a particular Test Case.

Currently in the API response, i am only able to view the lastTestResultStatus which indicates Pass / Fail.

I would like to know the last execution date and time for a test case because i would like to archive test cases that have not been executed for the last 'n' months.

Appreciate your assistance.

  • MisterB's avatar
    MisterB
    Icon for Champion Level 3 rankChampion Level 3

    Have you tried the GET /testexecutions endpoint?  Execution records are where execution data is found, and I can see you can provide a test case key, and the info you want should be provided.

    Zephyr Scale for Jira Cloud API