|
JWT user properties are key-value pairs added as regular user properties. The main goal of the properties is to provide user metadata, which can be referenced and used in multiple JWT features. |
User properties consist of a key and a value.
The key can only contain alphanumeric characters. |
The screenshot shows an example with 3 JWT user properties:
Property key | Property value | Potential use case |
---|---|---|
payrollCluster | IT | Could be used to indicate that the user is on the IT payroll cluster. |
projectRole10100 | DEV | Could be used to indicate that the user is the default assignee of a custom project role in the DEV project. User properties can be used by the Assign to project role post function for setting a default assignee for a specific project role. |
Developers | CRM | Could be used to indicate that the user is the default assignee of the Developers project role in the CRM project. User properties can be used by the Assign to project role post function for setting a default assignee for a specific project role. |
The value is interpreted as a regular expression matching one or multiple project keys or project category names. |
Property key | Property value | Potential use case |
---|---|---|
projectRole10101 | IT|DEV | Could be used to indicate that the user is the default assignee of a custom project role in the IT and DEV project. User properties can be used by the Assign to project role post function for setting a default assignee for a specific project role. |
Developers | [ABCD]...|..CR | Could be used to indicate that the user is the default assignee of the Developers project role in the projects with keys of 4 characters with A, B, C or D as the first character, or ending with CR. |
The following workflow functions are the main features where you work with user properties.
Conditions and Validators
JWT user properties can be referenced and validated when writing a logical expression in the Logical mode (e.g in the conditional execution parameter of post functions).
JWT provides special parser functions to work with user properties.
You can use JWT user properties in JQL queries, by using any of the JQL functions provided by Jira Workflow Toolbox: