The jira:entityPropertySet module lets you bundle multiple entity properties under a single module, with no limit on the number of properties.
See Entity properties in the Jira Cloud platform guides for more information about Jira entity properties.
| Property | Type | Required | Description |
|---|---|---|---|
key |
| Yes | A key for the module, which other modules can refer to. Must be unique within the manifest. Regex: |
properties | EntityProperty[] | Yes | A list of entity properties to index. Each entry defines a single entity property with its type, key, and indexed values. |
Each entry in the properties array defines a single entity property to index.
| Property | Type | Required | Description |
|---|---|---|---|
entityType | string | The type of the entity. Allowed types are:
The default value is | |
propertyKey | string | Yes | The key of the entity property from which the data is indexed. |
values | PropertyValues[] | Yes | The list of fields in the JSON object to index with the type of each field. |
Defines the fields of an entity property to be indexed by Jira. Each value is a reference to a field in the JSON object, along with its type.
| Property | Type | Required | Description |
|---|---|---|---|
path |
| Yes | The path to the JSON data to index. The path is the key of a flattened JSON object with '.' as the delimiter. For example, for the JSON The path may refer to an array type. In this case, the 'type' field should be the type of the elements in the array. |
type | string | Yes | The type of the referenced value:
|
searchAlias | string | The name used for this property in JQL. |
This example bundles multiple entity properties under a single jira:entityPropertySet module:
1 2modules: jira:entityPropertySet: - key: my-properties properties: - propertyKey: stats entityType: issue values: - path: comments type: number searchAlias: commentCount - path: statusTransitions type: number searchAlias: transitionCount - path: lastCommenter type: user searchAlias: lastCommenter - propertyKey: metadata entityType: issue values: - path: category type: string searchAlias: metaCategory - path: lastUpdated type: date searchAlias: metaLastUpdated
Once indexed, you can query entity property data using:
searchAlias value directly as the JQL field name. This is the recommended approach.issue.property['<propertyKey>'].<path>.1 2commentCount = 5 issue.property['stats'].comments = 5
Both queries return the same results.
While jira:entityPropertySet removes the per-app limit on entity properties, there are platform-wide constraints to be aware of:
There is a platform-wide limit of 1,000 searchable entity properties per entity type (e.g., issue), shared across all apps installed on the tenant. If your app registers a large number of properties, it reduces the available capacity for other apps on the same tenant. Plan your property usage accordingly.
This module requires the read:jira-work and write:jira-work scopes.
1 2permissions: scopes: - read:jira-work - write:jira-work
Rate this page: