We're updating our terminology in Jira

'Issue' is changing to 'work item'. You might notice some inconsistencies while this big change takes place.

Use JQL functions in Assets

Assets in Jira Service Management is a Premium and Enterprise only feature. Learn more about Assets

 

Assets supports the Jira Query Language (JQL) function aqlFunction, letting you query issues with object custom fields using Assets Query Language (AQL). This helps filter issues based on Assets data, like object attributes.

Learn more about Assets Query Language (AQL)

aqlFunction(aql)

Syntax

aqlFunction(aql)

Supported fields

Assets object custom field

Supported operators

IS, IS NOT, IN, NOT IN

Examples

In the following JQL examples, we’ve used a field called customField to represent an Assets object custom field (the name of the field is defined by the Jira admin).

  • Find issues where a website is reported and where the customer account manager is Mathias Edblom:
    customField in aqlFunction("Customer.\"Account Manager\" = \"Mathias Edblom\"")

  • Find issues where an application is reported and where the application is installed on a virtual server:
    customField in aqlFunction("Host.Virtual = true")

Using aqlFunction with an object schema or specifying an object type improves performance. For example, to reduce query execution time in Jira Service Management SLA calculations, limit the AQL with the object type name, schema ID, or object key.

Still need help?

The Atlassian Community is here for you.