How to use "sort_field"?

Thursday, December 21, 2023
Avatar

Hello 

How could I filter test cases by Author?

starting_row = 1
number_of_rows = 10000000
sort_field = {"AuthorId": 1}
sort_direction = "ASC"
get_test_cases = f"projects/{project_id}/test-cases?starting_row={starting_row}&number_of_rows={number_of_rows}&sort_field={sort_field}&sort_direction={sort_direction}"

I've tried to use sort_field = "Name" is doesn't work as well.

Best Regards,
N

1 Replies
Friday, December 22, 2023
Avatar
re: new_spiratest_user Thursday, December 21, 2023

Have you tried the following:

&sort_field=AuthorName&sort_direction=ASC
Regards

David

Spira Helps You Deliver Quality Software, Faster and With Lower Risk

And if you have any questions, please email or call us at +1 (202) 558-6885

 

Statistics
  • Started: Thursday, December 21, 2023
  • Last Reply: Friday, December 22, 2023
  • Replies: 1
  • Views: 765