jira.Asset
An Atlassian Assets object. Returned by workspace.objects(aql) and workspace.object(id).
Members
global_id
jira.Asset.global_idstringThe globally-unique id (workspaceID:objectID).
id
jira.Asset.idstringThe numeric object id.
workspace_id
jira.Asset.workspace_idstringThe 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}