Skip to main content
Skip table of contents

Writing error messages

You can always get auto completion 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.

It is unfortunately not possible to evaluate every Jira expression in the error message due to this issue at Atlassian. The expressions that you can evaluate inside the error message will be suggested by auto completion tool, and you will most probably not be able to evaluate any expression that is not suggested by auto completion.

Error Message Examples

An error message with some static text:

CODE
Issue needs to have an assignee!

An error message that gives feedback about the wrong value:

CODE
The assignee needs to be empty but was ${issue.assignee.displayName}!
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.