Reorder testcases within an item
Updates the sort order of test cases within a library component item. Provide an array of testcase IDs in the desired order. Only library component test cases can be reordered.
POST
/administration/project-components/item-details/{itemId}/testcases/sortAuthorization
AuthorizationOAuth2 access token · headerrequiredScopes:
api:writeor
AuthorizationBearer token (JWT) · headerrequiredPath parameters
itemIdstringrequiredComponent item UUID. Items are the building blocks within components (Epics, Work Packages, Todo Lists, Test Suites).
Request body
requiredapplication/jsonnewSortOrderstring[]requiredArray of testcase IDs in desired order
Responses
200
successboolean401
Unauthorized - Invalid or missing authentication token
403
Forbidden - Insufficient API scopes or permissions