Skip to main content

GET List Test Case Types

This API fetches the list of Test Case types associated with an existing project

Updated over a week ago

The request includes query parameters for the project key, start index, and limit.

API Endpoint


{{apiUrl}}/api/v1/category/caseTypes?projectKey={{projectKey}}

Headers


To authenticate the API request, you need to provide the Vansah Connect Token that is generated from the Jira workspace's Vansah configuration page.

Authorization

{{vansahConnectToken}}


Generate a Token from Vansah

Request Query Parameters


startAt

{{startAt}}

Optional Rows start at e.g start at 5 out of 15 rows , it will fetch 10 rows from 5 to 15 (for pagination)

limit

{{limit}}

Optional Number of rows to be displayed , default 50

projectKey

{{projectKey}}

Jira Project Key (Required for connect API calls), e.g. ("TEST", "PRODAPP")

Response Body


  • success:
    A boolean indicating whether the request was successful.

  • message:
    A message providing additional details about the response.

  • pagination:
    Provides information about the pagination of the data.

    • total: Total number of labels available.

    • startAt: The starting point for the data returned.

    • limit: The number of labels that can be retrieved per request.

  • data:
    A list of Test Case types returned from the API. Each Test Case Type has a name field.

Example Response Body


{

"success": true,

"message": "CaseTypes returned successfully",

"pagination": {

"total": 6,

"startAt": 0,

"limit": 50

},

"data": [

{

"identifier": "8f16f456-a20d-11ef-99bc-4a527ec72f78",

"name": "Acceptance Test Scenario"

},

{

"identifier": "446b5362-a167-11ef-99bc-4a527ec72f78",

"name": "Functional"

},

{

"identifier": "bbd98652-f328-11ef-baf9-5a0ced9d1480",

"name": "new"

},

{

"identifier": "8996f147-a20d-11ef-99bc-4a527ec72f78",

"name": "Regression"

},

{

"identifier": "8a62c450-f312-11ef-baf9-5a0ced9d1480",

"name": "UI"

},

{

"identifier": "0ae0b3be-f331-11ef-baf9-5a0ced9d1480",

"name": "Unit"

}

]

}

Did this answer your question?