Node - mention

Purpose

The mention node represents a user mention.

Type

mention is an inline node.

Examples

1 2 3 4 5 6 7 8 { "type": "mention", "attrs": { "id": "ABCDE-ABCDE-ABCDE-ABCDE", "text": "@Bradley Ayers", "userType": "APP" } }

Fields

NameRequiredTypeValue
typestring"mention"
attrsobject
attrs.accessLevelstring"NONE", "SITE", "APPLICATION", "CONTAINER"
attrs.idstringAtlassian Account ID or collection name
attrs.textstring
attrs.userTypestring"DEFAULT", "SPECIAL", "APP"

Attributes

  • accessLevel
  • id the Atlassian account ID or collection name of the person or collection being mentioned.
  • text the textual representation of the mention, including a leading @.
  • userType

Rate this page: