Workflow Conditions
(AUM) User with specified value for property is a Jira workflow condition. It allows a transition only when a chosen user's Advanced User Manager custom property matches the value you set. When the condition is not satisfied, Jira hides the transition, so the button never appears on the issue.
The condition is configured in Jira's own workflow editor, not inside the Advanced User Manager console. The console's Configure > Automation screen only describes it and links out.
Before you start
You need Jira administrator permission to edit workflows and to read the app's property definitions.
At least one property must already exist in the app under Configure > User properties.
The users you want to check must have a value stored for that property (set it from Jira users > select rows > Set properties).
Where the properties come from
The property list in the condition editor is the list of property definitions from the app. To manage it, open Advanced User Manager and go to Configure > User properties in the left sidebar. There you can create, rename and delete property definitions. Names are 3-20 characters and must be unique.
A property has to exist there before it can be selected in the workflow editor - the condition cannot invent one. The same definitions also drive the Set properties drawer, the property columns on Jira users, CSV export, the workflow validator and post function, and the External User Picker fields.
Add the condition to a transition
Go to Jira settings > Issues > Workflows and edit the workflow that contains the transition.
Select the transition, then open its Conditions and choose to add a condition.
Pick (AUM) User with specified value for property from the list.
In Whose property should be checked? select Current User or a user field on the issue.
In Which property value should be checked? select one of your Advanced User Manager properties.
Choose a Comparison and type the Value to compare against.
Check the plain-English sentence in the Condition preview box, then add the condition and publish the workflow. Nothing takes effect until the workflow is published.
The condition is only saved once all four fields are filled in. Until then the preview reads "Choose a user field, property, operator and value to preview the condition."
The four fields
Field | What it does |
|---|---|
Whose property should be checked? | Current User checks the person performing the transition. Otherwise the list contains every single-user field on the issue - for example Assignee and Reporter, plus single user picker custom fields - and the property of the user in that field is checked. |
Which property value should be checked? | The Advanced User Manager property to read, taken from Configure > User properties. |
Comparison | equals, not equals, includes or excludes. |
Value | The text to compare the stored property value against. |
This screenshot shows an earlier version of the interface. The steps in the text above are current.
This screenshot shows an earlier version of the interface. The steps in the text above are current.
How each comparison behaves
Comparison | The transition is allowed when... |
|---|---|
equals | the user's stored property value is exactly the value you typed. |
includes | the user's stored property value contains the value you typed. |
not equals | the stored value is anything other than the value you typed. This also allows the transition when the user has no value stored for that property. |
excludes | the stored value does not contain the value you typed. This also allows the transition when the user has no value stored for that property. |
Type the value in lowercase. The stored property value is lower-cased before it is compared, but the text you type is used exactly as you entered it. A value typed with capital letters will never match, and with equals or includes that silently hides the transition for everyone.
What users see
A condition controls visibility. When it is not satisfied the transition button is simply not shown on the issue, and no message is displayed. If you would rather let people click the transition and then show them why it was refused, use the workflow validator instead - it is configured the same way but reports an error message on submit.
With equals or includes, the condition is also not satisfied when the selected user field is empty on the issue, or when the user has no value stored for that property. The transition stays hidden in both cases.
Renaming or deleting a property in Configure > User properties does not update conditions that already reference it. After renaming a property, re-open every transition that uses it, re-select the property and publish the workflow again - otherwise the condition stops matching and the transition disappears.
Troubleshooting
The property dropdown is empty or never finishes loading. The property list is only returned to Jira administrators, and it is empty if no properties have been defined yet. Confirm your permission, then check Configure > User properties.
The transition disappeared for everyone. Check the value for capital letters, and confirm the users actually have a value stored for that property - open Jira users, use the Columns popover to switch on the property column, and look at the rows.
The transition never appears even though the value looks right. Re-open the transition's condition, re-select the property and value, save, and publish the workflow again.
Changes have no effect. The workflow has to be published. Draft workflow changes are not applied to issues.
Related pages
Condition Example - a worked example from start to finish.
Workflow Validators - same check, but it blocks the transition with an error message instead of hiding it.
Workflow Post Functions - copy a user property into a custom field after a transition.
Managing User Properties - create, rename and delete the properties this condition reads.