Quick Tests
This chapter focuses on services for the quick tests.
Get quick test
A GET to /quick-tests/{id} returns the quick test with the given id.
Path parameters
| Parameter | Description |
|---|---|
|
the id of the quick test |
HTTP request
GET /api/rest/latest/quick-tests/321 HTTP/1.1
Accept: application/json
Host: localhost:8080
Query parameters
| Parameter | Description |
|---|---|
|
which fields of the elements should be returned (optional) |
HTTP response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1384
{
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/rest/latest/quick-tests/321"
},
"sprint-req-version" : {
"href" : "http://localhost:8080/api/rest/latest/sprint-req-versions/456"
},
"issues" : {
"href" : "http://localhost:8080/api/rest/latest/quick-tests/321/issues"
}
},
"_type" : "quick-test",
"id" : 321,
"name" : "my quick test",
"execution_status" : "READY",
"description" : "description as a rich text field",
"created_by" : "admin",
"created_on" : "2024-10-01T10:00:00.000Z",
"last_modified_by" : "another user",
"last_modified_on" : "2025-05-12T10:00:00.000Z",
"sprint_req_version" : {
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/rest/latest/sprint-req-versions/456"
}
},
"_type" : "sprint-req-version",
"id" : 456,
"requirement_version" : {
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/rest/latest/requirement-versions/789"
}
},
"_type" : "requirement-version",
"id" : 789,
"name" : "requirement version name"
},
"sprint" : {
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/rest/latest/sprints/123"
}
},
"_type" : "sprint",
"id" : 123,
"name" : "sprint name"
}
},
"attachments" : [ ]
}
Response fields
| Path | Type | Description |
|---|---|---|
|
|
the type of this entity |
|
|
the id of the quick test |
|
|
the name of the quick test |
|
|
the description of the quick test |
|
|
the execution status of the quick test |
|
|
the user who created this quick test |
|
|
the date the quick test was created |
|
|
the user who last modified the quick test |
|
|
the date the quick test was last modified |
|
|
the sprint requirement version to which this quick test is linked |
|
|
the attachments of this execution |
|
|
related links |
Links
| Relation | Description |
|---|---|
|
link to this quick test |
|
link to the sprint requirement version |
|
link to the issues of this quick test |
Delete quick test
A DELETE to /quick-tests/{ids} deletes one or several quick test with the given id(s).
Path parameters
| Parameter | Description |
|---|---|
|
the list of ids of the quick tests |
HTTP request
DELETE /api/rest/latest/quick-tests/44 HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: localhost:8080
HTTP response
HTTP/1.1 204 No Content
Create a quick test
A POST to /sprint-req-versions/{id}/quick-tests creates a new quick test attached to the sprint requirement version.
Path parameters
| Parameter | Description |
|---|---|
|
the id of the sprint requirement version |
Request fields
| Path | Type | Description |
|---|---|---|
|
|
the name of the quick test (optional, defaults to a date-based generated name) |
|
|
the description of the quick test (optional) |
|
|
the execution status of the quick test (optional, defaults to READY) |
HTTP request
POST /api/rest/latest/sprint-req-versions/456/quick-tests HTTP/1.1
Content-Type: application/json
Accept: application/json
Content-Length: 85
Host: localhost:8080
{
"name" : "my quick test",
"description" : "<p>desc</p>",
"status" : "READY"
}
HTTP response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 1363
{
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/rest/latest/quick-tests/321"
},
"sprint-req-version" : {
"href" : "http://localhost:8080/api/rest/latest/sprint-req-versions/456"
},
"issues" : {
"href" : "http://localhost:8080/api/rest/latest/quick-tests/321/issues"
}
},
"_type" : "quick-test",
"id" : 321,
"name" : "my quick test",
"execution_status" : "READY",
"description" : "<p>desc</p>",
"created_by" : "admin",
"created_on" : "2024-10-01T10:00:00.000Z",
"last_modified_by" : "another user",
"last_modified_on" : "2025-05-12T10:00:00.000Z",
"sprint_req_version" : {
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/rest/latest/sprint-req-versions/456"
}
},
"_type" : "sprint-req-version",
"id" : 456,
"requirement_version" : {
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/rest/latest/requirement-versions/789"
}
},
"_type" : "requirement-version",
"id" : 789,
"name" : "requirement version name"
},
"sprint" : {
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/rest/latest/sprints/123"
}
},
"_type" : "sprint",
"id" : 123,
"name" : "sprint name"
}
},
"attachments" : [ ]
}
The response format is the same as Get quick test.
Modify a quick test
A PATCH to /quick-tests/{id} modifies the quick test with the given id.
Path parameters
| Parameter | Description |
|---|---|
|
the id of the quick test |
Request fields
| Path | Type | Description |
|---|---|---|
|
|
the name of the quick test (optional) |
|
|
the description of the quick test (optional) |
|
|
the execution status of the quick test (optional) |
HTTP request
PATCH /api/rest/latest/quick-tests/321 HTTP/1.1
Content-Type: application/json
Accept: application/json
Content-Length: 98
Host: localhost:8080
{
"name" : "my patched quick test",
"description" : "<p>patched</p>",
"status" : "SUCCESS"
}
HTTP response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1376
{
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/rest/latest/quick-tests/321"
},
"sprint-req-version" : {
"href" : "http://localhost:8080/api/rest/latest/sprint-req-versions/456"
},
"issues" : {
"href" : "http://localhost:8080/api/rest/latest/quick-tests/321/issues"
}
},
"_type" : "quick-test",
"id" : 321,
"name" : "my patched quick test",
"execution_status" : "SUCCESS",
"description" : "<p>patched</p>",
"created_by" : "admin",
"created_on" : "2024-10-01T10:00:00.000Z",
"last_modified_by" : "another user",
"last_modified_on" : "2025-05-12T10:00:00.000Z",
"sprint_req_version" : {
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/rest/latest/sprint-req-versions/456"
}
},
"_type" : "sprint-req-version",
"id" : 456,
"requirement_version" : {
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/rest/latest/requirement-versions/789"
}
},
"_type" : "requirement-version",
"id" : 789,
"name" : "requirement version name"
},
"sprint" : {
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/rest/latest/sprints/123"
}
},
"_type" : "sprint",
"id" : 123,
"name" : "sprint name"
}
},
"attachments" : [ ]
}
The response format is the same as Get quick test.
Get issues of a quick test
A GET to /quick-tests/{id}/issues returns all the issues of the quick test with the given id declared using the bugtracker currently linked to the project.
Path parameters
| Parameter | Description |
|---|---|
|
the id of the quick test |
HTTP request
GET /api/rest/latest/quick-tests/321/issues HTTP/1.1
Accept: application/json
Host: localhost:8080
HTTP response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 395
{
"_embedded" : {
"issues" : [ {
"remoteIssueId" : "981351896",
"url" : "https://gitlab.com/sample-group/sample-project/issues/15"
} ]
},
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/rest/latest/quick-tests/321/issues?page=0&size=20"
}
},
"page" : {
"number" : 0,
"size" : 20,
"totalElements" : 1,
"totalPages" : 1
}
}
Response fields
| Path | Type | Description |
|---|---|---|
|
|
the issues of this quick test |
|
|
the remote issue id of the issue linked to the quick test |
|
|
the url of the issue linked to the quick test |
|
|
the page size for that query |
|
|
total number of elements the user is allowed to read |
|
|
how many pages can be browsed |
|
|
the page number |
|
|
related links |
Links
| Relation | Description |
|---|---|
|
link to the first page (optional) |
|
link to the previous page (optional) |
|
link to this page |
|
link to the next page (optional) |
|
link to the last page (optional) |