When ZAPI Put or post Execution, Executed On Date is not updated

I used the below link to put a new Execution to test case. But when the new result is the same with latest one, Executed On Date is not the newest date. I need know wha time is my the latest run.

/jira_server/rest/zapi/latest/execution/{id}/quickExecute

/jira_server/rest/zapi/latest/execution/{id}/execute

Could you give me some proposal? thank you very much.

5 answers

1 accepted

This widget could not be displayed.

The Execution Date does not update if you are not changing the Execution Status. As a workaround, you can use ZAPI to first update the status to UNEXECUTED before updating the execution with the new status.

This widget could not be displayed.

Hi Zhao,

Can you elaborate in detail on what steps you are taking and what the issue is and where it is happening?

Regards,

Daniel

This widget could not be displayed.

Hi Zhao,

Can you elaborate in detail on what steps you are taking and what the issue is and where it is happening?

Regards,

Daniel

This widget could not be displayed.

Hello Daniel ,

Thanks your reply. i want used "/jira_server/rest/zapi/latest/execution/{id}/execute " to put a new result. but I meet a issue, sometimes the new result status is the same with the old one. the execution don't be update.

This widget could not be displayed.

Hi Zhao,

The 'Executed On' date will only be changed when the execution status changes. If the status remains the same, the date will not be modified by the system.

If you are re-executing a test in a cycle without using a new cycle, please change the statuses back to 'Unexecuted' before changing them to the new execution's status. In order to get history of your previous executions, support advises that you create a new cycle with the test schedules needed (even if they are the same). This allows you to see previous and newer executions of the same tests from the cycle screen.

Regards,

Daniel

If this post answered your question, please consider the 'Convert to Answer' option

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

135 views 2 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you