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

Accepted Answer
0 votes

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.

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

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

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.

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
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

25,993 views 2 7
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