Guides
CI examples
Opening issues for failed tests and sending a suite's results.
Example (the token lives in a CI secret):
curl -sS -X POST https://tracker.aquarela.app/api/v1/issues/import \
-H "Authorization: Bearer $TRACKER_TOKEN" \
-H "Content-Type: application/json" \
-d '{"project": "MOB", "issues": [{"title": "Login fails on Android 15", "severity": "S2", "external_id": "e2e/login.spec.ts", "labels": ["CI"]}]}'Results of an automated suite in a cycle (the id comes from POST /test-cycles or GET /test-cycles):
curl -sS -X POST https://tracker.aquarela.app/api/v1/test-cycles/$CYCLE_ID/results \
-H "Authorization: Bearer $TRACKER_TOKEN" \
-H "Content-Type: application/json" \
-d '{"results": [{"test_case": "TC-MOB-0001", "status": "pass"}, {"test_case": "TC-MOB-0002", "status": "fail", "comment": "Login timeout", "open_issue": true}]}'