Writing error messages
You can always get autocompletion by typing Ctrl+Space
if you are inside an input field.
How does it work?
When writing error messages, you can also utilize variables in the error message by writing ${}
. This way you can write error messages that inform the user of the actual result versus the expected result.
Because of this issue at Atlassian, the error message cannot evaluate every expression. Thus, you can only input a small subset of expressions in the error message.
Give me some examples, please…
An error message with some static text:
Issue needs to have an assignee!
An error message that gives feedback about the wrong value:
The assignee needs to be empty but was ${issue.assignee.displayName}!