Skip to navigation

An Atlassian Assets object. Returned by workspace.objects(aql) and workspace.object(id).

Members

global_id

jira.Asset.global_idstring

The globally-unique id (workspaceID:objectID).

id

jira.Asset.idstring

The numeric object id.

workspace_id

jira.Asset.workspace_idstring

The workspace this object belongs to.

fields

jira.Asset.fields(fields)

Fetch specific field values for this asset.

Parameters
fieldslist[string]Field names to fetch. Empty list returns all fields.
Returns
valuesdict[string:any]A dict of field name to value.

ref

jira.Asset.ref()

Return a reference dict for use in Asset-type Jira fields.

Returns
refdict[string:any]{“id”: globalID, “objectId”: id, “workspaceId”: wsID}