Summary

Keychain - Delegation for Jira introduces two new JQL functions to your system named delegatesOf() and delegatorsOf()

These JQL functions allow you to filter issues based on delegations defined in Delegation Configuration page.


delegatesOf() Function

This function returns the current delegate(s) of the given user, according to delegation definitions.

It takes a single parameter that is the loginname of the user that you want to get the delegates for and returns a list of users that are the delegates of the given user.

It can be used on system user fields like:

assignee in delegatesOf("admin")

This query will return all issues that are currently assigned to one of the delegates of admin user.


It can also be used with custom fields:

"My User Picker" in delegatesOf("admin")

This query will return all issues that have one of the delegates of admin user in its "My User Picker" custom field.


delegatorsOf() Function

This function returns the user(s) that currently have delegated their permissions to the given user, according to delegation definitions.

It takes a single parameter that is the loginname of the user that you want to get the delegators for and returns a list of users that have delegated their permissions to the given user.

It can be used on system user fields like:

assignee in delegatorsOf("admin")

This query will return all issues that are currently assigned to one of the delegators of admin user.


It can also be used with custom fields:

"My User Picker" in delegatorsOf("admin")

This query will return all issues that have one of the delegators of admin user in its "My User Picker" custom field.








  • No labels