Skip to main content

GET List Test Case Priorities

To retrieve the list of Test Case priorities for an existing project, use below API endpoint

Updated this week

API Endpoint


{{apiUrl}}/api/v1/category/priorities/?startAt={{startAt}}&limit={{limit}}&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:
    Indicates if the request was successful.

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

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

  • data:
    An array of priorities returned from the API. Each priority contains the following:

    • identifier: Unique identifier for the priority.

    • name: Name of the priority.

    • jiraID: The ID associated with the priority in Jira.

Example Response Body


{

"success": true,

"message": "Priorities returned successfully",

"pagination": {

"total": 5,

"startAt": 0,

"limit": 50

},

"data": [

{

"identifier": "525fb252-f4c8-11ef-892e-2e4c1a6a0f84",

"name": "High",

"jiraID": 2

},

{

"identifier": "b2995ce1-f243-11ef-892e-2e4c1a6a0f74",

"name": "Highest",

"jiraID": 1

},

{

"identifier": "82595f90-f364-11ef-892e-2e4c1a6a0f84",

"name": "Low",

"jiraID": 4

},

{

"identifier": "805d6f76-f364-11ef-892e-2e4c1a6a0f74",

"name": "Lowest",

"jiraID": 5

},

{

"identifier": "6a2aa0b9-ee52-11ef-9c82-56bd4ac65cf0",

"name": "Medium",

"jiraID": 3

}

]

}

Did this answer your question?