Skip to main content
Skip table of contents

FAQ

My expression shows an error like “Type null does not have any properties“

Often, you want to check some sub-property of an element, for example, the display name of the assignee. In this case, you would write something like:

JS
issue.assignee.displayName != "John Doe"

However, if the issue is currently unassigned, this will result in an error. You can fix this by explicitly checking that an assignee is set for the issue:

CODE
issue.assignee != null && issue.assignee.displayName != "John Doe"

JavaScript errors detected

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

If this problem persists, please contact our support.