Rest API Endpoint for Automated Test Runs does not work

Monday, December 7, 2020
Avatar

API Page: /projects/{project_id}/test-runs/search/automated

When I run the following curl, I got an error:

curl \
   -H 'Accepts: application/json' \
   -H 'Content-Type: application/json' \
   -u [key]
   -X POST \
   -d '[]' \
   https://[team].spiraservice.net/services/v6_0/RestService.svc/projects/{project_id}/test-cases/test-runs/search/automated?starting_row\=1\&number_of_rows\=10


I get the following response:

"The passed in 'starting_row' needs to be an integer"

The workaround is hit each individual Run's endpoint, but that seems like it'll be taxing on the server.

3 Replies
Monday, December 7, 2020
Avatar
re: michael.hashimoto Monday, December 7, 2020

Please could you raise a support ticket for this.

Regards

David

Wednesday, December 9, 2020
Avatar
re: inflectra.david Monday, December 7, 2020

Thanks David, I opened a new ticket for this issue.

Wednesday, January 13, 2021
Avatar
re: michael.hashimoto Wednesday, December 9, 2020

Is there any update on this issue?  I'm experiencing it as well so am wondering when it will be fixed.

Statistics
  • Started: Monday, December 7, 2020
  • Last Reply: Wednesday, January 13, 2021
  • Replies: 3
  • Views: 811