> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://tester.army/docs/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://tester.army/_mcp/server.

# List project issues

GET https://tester.army/api/v1/projects/{projectId}/issues

List a project's tracked issues: bugs and warnings surfaced by QA runs, deduplicated across runs with occurrence counts and triage status. Open issues sort first, then by most recently seen.

Reference: https://tester.army/docs/api-reference/tester-army-api/projects/list-project-issues

## Authentication

- `Authorization` header (bearer token, required) — API key authentication using Bearer token format

## Request

### Path parameters

- `projectId` (string, required) — Project ID or shortId

### Query parameters

- `status` (enum, optional) — Filter to one triage status.
  - Allowed values: `open`, `resolved`, `false_positive`
- `environment` (enum, optional) — Filter to issues seen on one deployment environment.
  - Allowed values: `production`, `staging`, `preview`, `custom`
- `limit` (string, optional) — Maximum issues to return (1-100, default 50).

## Response

### 200

List of project issues

- `issues` (list of object, required)
  - `id` (string, required)
  - `projectId` (string, required)
  - `testId` (string, required, nullable)
  - `status` (enum, required) — Triage status. Resolved issues reopen automatically if a run surfaces them again.
    - Allowed values: `open`, `resolved`, `false_positive`
  - `issueType` (enum, required)
    - Allowed values: `issue`, `warning`
  - `source` (enum, required) — How the tracker learned about the issue: an explicit agent report or a failed test step.
    - Allowed values: `agent_report`, `step_failure`
  - `name` (string, required)
  - `description` (string, required)
  - `url` (string, required, nullable)
  - `severity` (integer, required, nullable) — 1 (low) to 5 (critical), when reported.
  - `category` (string, required, nullable)
  - `reproductionSteps` (list of string, required, nullable)
  - `expectedBehavior` (string, required, nullable)
  - `actualBehavior` (string, required, nullable)
  - `screenshotUrl` (string, required, nullable)
  - `environment` (enum, required) — Deployment bucket the issue is tracked on.
    - Allowed values: `production`, `staging`, `preview`, `custom`
  - `environmentName` (string, required) — Resolved environment label ("Production", "Staging", "QA EU", ...). Issues are tracked per environment: the same bug on different environments is separate issues.
  - `occurrenceCount` (integer, required) — Number of runs that surfaced this issue.
  - `firstSeenRunId` (string, required, nullable)
  - `lastSeenRunId` (string, required, nullable)
  - `lastSeenAt` (datetime, required)
  - `resolvedAt` (datetime, required, nullable)
  - `createdAt` (datetime, required)
  - `updatedAt` (datetime, required)
- `count` (integer, required)
- `openCount` (integer, required) — Total open issues in the project.

## Examples

**Response**

```json
{
  "issues": [
    {
      "id": "string",
      "projectId": "string",
      "testId": "string",
      "status": "open",
      "issueType": "issue",
      "source": "agent_report",
      "name": "string",
      "description": "string",
      "url": "string",
      "severity": 1,
      "category": "string",
      "reproductionSteps": [
        "string"
      ],
      "expectedBehavior": "string",
      "actualBehavior": "string",
      "screenshotUrl": "string",
      "environment": "production",
      "environmentName": "string",
      "occurrenceCount": 1,
      "firstSeenRunId": "string",
      "lastSeenRunId": "string",
      "lastSeenAt": "2024-01-15T09:30:00Z",
      "resolvedAt": "2024-01-15T09:30:00Z",
      "createdAt": "2024-01-15T09:30:00Z",
      "updatedAt": "2024-01-15T09:30:00Z"
    }
  ],
  "count": 1,
  "openCount": 1
}
```

**SDK Code**

```python
import requests

url = "https://tester.army/api/v1/projects/projectId/issues"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://tester.army/api/v1/projects/projectId/issues';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://tester.army/api/v1/projects/projectId/issues"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://tester.army/api/v1/projects/projectId/issues")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://tester.army/api/v1/projects/projectId/issues")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://tester.army/api/v1/projects/projectId/issues', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://tester.army/api/v1/projects/projectId/issues");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://tester.army/api/v1/projects/projectId/issues")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```