Jira Expressions - User
A Jira Expressions - User field stores the person that your Jira expression returns, such as the parent's assignee.
The value is a user, so you can search it with currentUser().
FieldCraft runs the expression with the app's access. A Jira admin must acknowledge app access first.
What you seeβ
On the work item, you see the person's avatar and name.
If the expression returns nothing, you see None.
Lists show the person's name. Search and exports use the stored user.
Settingsβ
| Setting | What it does | Default |
|---|---|---|
| Jira Expression: | The expression that FieldCraft runs for each work item | None, so you write one |
The expression must return a user, such as issue.assignee, or an account ID. Anything else leaves the field empty.
Example: the parent's assigneeβ
You want people to find the sub-tasks of the stories assigned to them.
-
Open the configuration page of a Jira Expressions - User field.
-
In Jira Expression:, enter this expression, or copy the Parent's assignee snippet:
issue.parent?.assignee -
Select I understand, and the values may be shown to everyone who can see the work item, and select Save.
Result: A sub-task of a story assigned to Alex shows Alex. A work item without a parent shows None.
For the editor, snippets and checks, see Write a Jira expression.
Search with JQLβ
JQL compares the stored user, like any person field.
To find work items whose parent is assigned to you, use:
"Parent's assignee" = currentUser()
To find work items without a value, use "Parent's assignee" IS EMPTY.
When the value updatesβ
FieldCraft runs the expression again when the work item changes or when you open it. See Jira expressions.
A change of the parent's assignee reaches the field only then.
Things to knowβ
-
Until a Jira admin acknowledges app access, the field keeps its last value.
-
For a person from the parent or the epic that follows every change, use Parent Field - User.
-
For the author of a comment, use Commenter. It never uses internal notes unless you choose them.
Relatedβ
-
Write a Jira expression: use the editor, snippets and the check before you save.
-
Parent Field - User: show a person from the parent or the epic, kept current.
-
Commenter: show who wrote the first or last comment.