Dynamic Variable Explanation
Dynamic variables in JQL must be enclosed in quotes (single ' or double "). This ensures Jira treats them as string values.
Correct Format
Single Quotes:
assignee in ('${issue.customfield_10070}')Double Quotes:
assignee in ("${issue.customfield_10070}")
Both are valid.
Incorrect Format
Without quotes:
assignee in (${issue.customfield_10070})
This will fail because Jira can't parse the string properly.
Tip: Always use quotes for string-based dynamic variables!