List a Project's Issues

Return a list of issues (groups) bound to a project. All parameters are supplied as query string parameters.

A default query of is:unresolved is applied. To return results with other statuses send an new query value (i.e. ?query= for all results).

The statsPeriod parameter can be used to select the timeline stats which should be present. Possible values are: "" (disable),"24h", "14d"

Path Parameters

organization_slug (string)
REQUIRED

The slug of the organization the issues belong to.

project_slug (string)
REQUIRED

The slug of the project the issues belong to.

Query Parameters:

statsPeriod (string)

An optional stat period (can be one of "24h", "14d", and "").

shortIdLookup (boolean)

If this is set to true then short IDs are looked up by this function as well. This can cause the return value of the function to return an event issue of a different project which is why this is an opt-in. Set to 1 to enable.

query (string)

An optional Sentry structured search query. If not provided an implied "is:unresolved" is assumed.

cursor (string)

A pointer to the last object fetched and its' sort order; used to retrieve the next or previous results.

Scopes

<auth_token> requires the following scopes:
  • project:read
GET /api/0/projects/{organization_slug}/{project_slug}/issues/
curl https://sentry.io/api/0/projects/{organization_slug}/{project_slug}/issues/ \
 -H 'Authorization: Bearer <auth_token>'
RESPONSESCHEMA
[
  {
    "annotations": [],
    "assignedTo": null,
    "count": "1",
    "culprit": "raven.scripts.runner in main",
    "firstSeen": "2018-11-06T21:19:55Z",
    "hasSeen": false,
    "id": "1",
    "isBookmarked": false,
    "isPublic": false,
    "isSubscribed": true,
    "lastSeen": "2018-11-06T21:19:55Z",
    "level": "error",
    "logger": null,
    "metadata": {
      "title": "This is an example Python exception"
    },
    "numComments": 0,
    "permalink": "https://sentry.io/the-interstellar-jurisdiction/pump-station/issues/1/",
    "project": {
      "id": "2",
      "name": "Pump Station",
      "slug": "pump-station"
    },
    "shareId": null,
    "shortId": "PUMP-STATION-1",
    "stats": {
      "24h": [
        [
          1541455200,
          473
        ],
        [
          1541458800,
          914
        ],
        [
          1541462400,
          991
        ],
        [
          1541466000,
          925
        ],
        [
          1541469600,
          881
        ],
        [
          1541473200,
          182
        ],
        [
          1541476800,
          490
        ],
        [
          1541480400,
          820
        ],
        [
          1541484000,
          322
        ],
        [
          1541487600,
          836
        ],
        [
          1541491200,
          565
        ],
        [
          1541494800,
          758
        ],
        [
          1541498400,
          880
        ],
        [
          1541502000,
          677
        ],
        [
          1541505600,
          381
        ],
        [
          1541509200,
          814
        ],
        [
          1541512800,
          329
        ],
        [
          1541516400,
          446
        ],
        [
          1541520000,
          731
        ],
        [
          1541523600,
          111
        ],
        [
          1541527200,
          926
        ],
        [
          1541530800,
          772
        ],
        [
          1541534400,
          400
        ],
        [
          1541538000,
          943
        ]
      ]
    },
    "status": "unresolved",
    "statusDetails": {},
    "subscriptionDetails": null,
    "title": "This is an example Python exception",
    "type": "default",
    "userCount": 0
  }
]