The mention node represents a mention of a specific user or special group of users.
1 2 3 4mention("ABCDE-ABCDE-ABCDE-ABCDE") .text("@jsmith") .userType(UserType.APP);
1 2 3 4 5 6 7 8 9{ "type": "mention", "attrs": { "id": "ABCDE-ABCDE-ABCDE-ABCDE", "text": "@jsmith", "userType": "APP" } }
| Confluence | Jira |
|---|---|
| ✅ | ✅ |
mentionAlthough the documented values for accessLevel are NONE, DEFAULT, APPLICATION, and CONTAINER, that is not enforced by the schema. Notably, the most common value seen for this field in production values is just an empty string. ↩
This is not enforced by the schema, but many things break if the text field does not begin with @, so this library enforces the restriction. ↩
Rate this page: