Issues

Count project issues

Changed on

Returns a count of issues matching specified filter options. You can filter based on the date issues were created, strings, target languages, issue types, states, issue numbers, job unique ids, issues not associated with strings in a job, issue assignee, and which user opened the issue. All parameters are optional.

post/issues-api/v2/projects/{projectId}/issues/count

Request

  • Base URL
    https://api.smartling.com
  • Auth
    HTTP bearer

Path parameters

projectIdstring required

Unique identifier of a Smartling project — 9 lowercase alphanumeric characters.

Example:84c012a33

A unique project identifier. This can be found in the Smartling Dashboard under Account Settings > API.

Request body

createdDateBeforestring

Filter issues which created before this date

createdDateAfterstring

Filter issues which created after this date

resolvedDateBeforestring

Filter issues which resolved before this date

resolvedDateAfterstring

Filter issues which resolved after this date

answeredboolean

Issue flag "answered"

reopenedboolean

Issue flag "reopened".

issueSeverityLevelCodesstring[]
issueStateCodesstring[]
issueSubTypeCodesstring[]
issueTypeCodesstring[]
issueWatchingStateCode'WATCHING' | 'NOT_WATCHING'

Issue Watching State identifier.

reportedByUserUidstring

Unique identifier of a user — 12 lowercase alphanumeric characters.

assigneeUserUidstring

Unique identifier of a user — 12 lowercase alphanumeric characters.

hasCommentsboolean

Does the issue have any comments? True for issues that have comments. False for issues that have only the original description but no comments.

issueNumbersinteger[]

Example request

{
  "createdDateAfter": "2015-11-10T15:14:09Z",
  "resolvedDateBefore": "2015-12-23T18:14:09Z",
  "resolvedDateAfter": "2015-11-10T15:14:09Z",
  "answered": true,
  "reopened": true,
  "reportedByUserUid": "99b0662fbae1",
  "assigneeUserUid": "99b0662fbae1",
  "hasComments": true,
  "issueNumbers": [
    10,
    11,
    12
  ],
  "jobFilter": {
    "jobUids": [
      "uhtkye5amtiz",
      "h9blewayxsz9"
    ]
  },
  "stringFilter": {
    "hashcodes": [
      "afe47cdaffe0c0226506919c291d9c1a",
      "afe37cdaffe0c0226508919c291d9c1a",
      "afe47cdaffe0c02265406919c291d2c1a"
    ],
    "localeIds": [
      "ru-RU"
    ]
  }
}

Response

OK

Changes