TestCaseManagement

Search TestRail cases behind an integration

Changed on

One page of cases in the integration's project, scoped to its configured suite (or the requested suite when none is configured). A query that looks like a case id (digits, optionally prefixed with C) resolves that case and returns it only if it lies inside the same scope; any other query filters titles. Results are read live from TestRail; nothing is cached.

get/tcm/external/testrail/integrations/{workspace_integration_id}/cases

Request

  • Base URL: https://api.mabl.com
  • URL: https://api.mabl.com/tcm/external/testrail/integrations/{workspace_integration_id}/cases
  • Auth: one of:
    • HTTP basic
    • API key in header Authorization

Path parameters

workspace_integration_idstring required

Query parameters

querystring

Case id or title text. Omitted lists the scope from the offset.

suite_idinteger

Suite to search when the integration configures none (required then for multi-suite projects). Must equal the configured suite when there is one.

section_idinteger
offsetinteger
limitinteger

Response

One page of cases

next_offsetinteger

Offset of the next upstream page, present whenever TestRail reported one -- even when this page filtered down to nothing -- so later matches stay reachable.

project_idinteger
suite_idinteger

The suite the search was scoped to, when any

Changes