Skip to main content

issues

Creates, updates, deletes, gets or lists an issues resource.

Overview

Nameissues
TypeResource
Idfirebase.firebasecrashlytics.issues

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringOutput only. Immutable. Unique identifier for the issue.
namestringRequired. Output only. Immutable. Identifier. The name of the issue resource. Format: "projects/{project}/apps/{app}/issues/{issue}".
errorTypestringOutput only. Immutable. Indicates whether this issue is a crash, non-fatal exception, or ANR. (ERROR_TYPE_UNSPECIFIED, FATAL, NON_FATAL, ANR)
firstSeenTimestring (google-datetime)Output only. Immutable. The first time this issue was seen.
firstSeenVersionstringOutput only. Immutable. The first app display_version in which this issue was seen, populated for mobile issues only.
lastSeenTimestring (google-datetime)Output only. The most recent time this issue was seen.
lastSeenVersionstringOutput only. The most recent app display_version in which this issue was seen, populated for mobile issues only.
notesCountstring (int64)Output only. The number of notes attached to an issue.
sampleEventstringOutput only. The resource name for a sample event in this issue.
signalsarrayOutput only. Immutable. Distinctive characteristics assigned by the Crashlytics analyzer.
statestringOutput only. Indicates whether this issue is open, closed or muted. For details on how issue states change without user actions, see Regressed Issues. (STATE_UNSPECIFIED, OPEN, CLOSED, MUTED)
stateUpdateTimestring (google-datetime)Output only. The time at which the issue state was last changed.
subtitlestringOutput only. Immutable. Caption subtitle. This is usually a symbol or an exception message.
titlestringOutput only. Immutable. Caption title. This is usually a source file or method name.
uristringOutput only. Provides a link to the Issue on the Firebase console. When this Issue is obtained as part of a Report, then the link will be configured with the same time interval and filters as the request.
variantsarrayOutput only. Immutable. The top 12 variants (subgroups) within the issue. Variants group events within an issue that are very similar. A single result implies that the variant is the same as the parent issue. This field will be empty when multiple issues are requested. Request a single issue to list variants.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectprojectsId, appsId, issuesIdRetrieve an issue.
patchupdateprojectsId, appsId, issuesIdupdateMaskChange the state of an issue.
batch_updateupdateprojectsId, appsIdChange the state of a group of issues. This method is not atomic, so partial failures can occur. In the event of a partial failure, the request will fail and you will need to call GetIssue to see which issues were not updated.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
appsIdstring
issuesIdstring
projectsIdstring
updateMaskstring (google-fieldmask)

SELECT examples

Retrieve an issue.

SELECT
id,
name,
errorType,
firstSeenTime,
firstSeenVersion,
lastSeenTime,
lastSeenVersion,
notesCount,
sampleEvent,
signals,
state,
stateUpdateTime,
subtitle,
title,
uri,
variants
FROM firebase.firebasecrashlytics.issues
WHERE projectsId = '{{ projectsId }}' -- required
AND appsId = '{{ appsId }}' -- required
AND issuesId = '{{ issuesId }}' -- required
;

UPDATE examples

Change the state of an issue.

UPDATE firebase.firebasecrashlytics.issues
SET
-- No updatable properties
WHERE
projectsId = '{{ projectsId }}' --required
AND appsId = '{{ appsId }}' --required
AND issuesId = '{{ issuesId }}' --required
AND updateMask = '{{ updateMask}}'
RETURNING
id,
name,
errorType,
firstSeenTime,
firstSeenVersion,
lastSeenTime,
lastSeenVersion,
notesCount,
sampleEvent,
signals,
state,
stateUpdateTime,
subtitle,
title,
uri,
variants;