It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Use Zapi to update the executed by and execution date

When updating test results to my cycle/test execution through zapi I would like to update the status, executedOn with the time my test finished and executedBy with a user name of the automated user.

The status updates correctly, however the executedOn does not. The HTTP response is 200. Is the executedOn field writeable? It seems that it changes only when the status field is changed. I would like to have the executedOn reflect the value in the test result log if possible. Is this the correct api?

id='188'

status='1'

executedOn="140409"

curl -ujhordes:Welcome123 --include --header "Content-Type: application/json" \

--request PUT \

--data-binary "{

\"status\": ${status} , \

\"executedOn\": ${executedOn} }" "http://slc03sgh:8080/rest/zapi/latest/execution/${id}/execute"

1 answer

Hello Jan,

This question has been answered for you through our support portal. Here is the answer that was shared with you "The 'executedOn' and 'executedBy' fields are generated by the system when the status is changed. There is no call that allows these fields to be modified. As a workaround for your need, you may put additional execution information in the comment of the execution, which users can view when clicking the 'E' button for the execution".

Kind Regards,

Swapna Kumar Vemula.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Align

Best Practices in Jira Align

Hello Jira Align customers! In order to better serve you on your journey with Jira Align, the Community team has worked with the Jira Align team to curate the content in this collection to better s...

43 views 0 2
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you