You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] Mentions in nested blocks, or in content with a table, are never notified #845
@mentions are not acted on in two cases: no notification is sent and a mentioned agent is not started.
The mention is in a nested block, such as an indented list item.
The comment, task description or document contains a table anywhere. Then every mention in it is skipped, not only the ones near the table.
Area
API
Steps to reproduce
Add a task comment with a bullet list. Indent the second item with Tab and @mention a teammate in it.
The teammate gets no notification. The same mention in a top-level item works.
Add a table to a document, then @mention a teammate in a normal paragraph below it and save.
The teammate gets no notification.
Expected behavior
Every teamMention in the content is notified (or the agent is started), wherever it sits in the document.
Actual behavior
mention.ExtractMentionsFromBlocks (services/api/internal/pkg/mention/mention.go) only reads each top-level block's content:
It never walks children, so mentions in nested blocks are missed. linkMentions in service/activity/mentions.go does walk children, so a plain-text @name in a nested item is turned into a chip that then never notifies anyone.
It decodes content as an array of inline items. A table block's content is an object ({"type":"tableContent","rows":[...]}), so json.Unmarshal fails for the whole document and the function returns no mentions at all.
This affects comment mentions on tasks and documents, and new mentions in task descriptions and documents (newlyMentionedUserIDs).
Activity
pullfrog commentedon Dec 1, 2026
dhananjay6561 commentedon Dec 1, 2026
Fix is up in #846. cc @pikann