Add links to individual work items in an aggregate share watcher notification

Description

When an external user uses “Watch all issues” on an aggregate share (filter, board or timeline), the notification they get lists the work items involved. Each item is shown only as text, though, and the only link in the email opens the main share. To reach a specific item, the recipient has to open the share and find it themselves.

Each work item in the notification should get its own link that opens that item inside the aggregate share. This is the same behaviour

added for single-item watcher notifications.

Scope:

  • Every aggregate share type: filter, board, timeline

  • Every work item listed in the notification gets its own link

  • Links must follow the share’s URL setup:

    • Public URL enabled/disabled

    • Custom domain

  • Keep the existing link to the main share

Acceptance criteria

  • Each work item in the “Watch all issues” notification links to that item inside the aggregate share.

  • The links work for filter, board and timeline shares.

  • With Public URL enabled, the links use the public URL format and still open the item, not the main share.

  • With a custom domain set, the links use the custom domain.

  • Sub-tasks and linked work items that show up in the notification open the right item. They must not open the parent or the original item. This was a regression found during

    .

  • A recipient who no longer has access to an item (for example, the item has dropped out of the filter’s scope) sees a sensible fallback, such as the main share, instead of a broken page.

QA notes

  • Test in team-managed, company-managed and JSM projects.

  • Test against every change type covered by the notification: comment, worklog, attachment and field update. In

    , comment and worklog notifications were the ones that were missed at first.

Linked work items

relates to
Work Item Type Icon ESFJ-2095 The link in notification to share watcher does not take them directly to changed issue if they subscribed to it through filter/board/timeline share Priority: Medium Assignee:
Released
Work Item Type Icon ESFJ-2501 Make the work item summary a link in Notifications tab on the dashboard Priority: Medium Assignee:
Backlog
Work Item Type Icon ESFJ-157 Links in email notifications have default domain and does not use public link functionality Priority: Medium Assignee:
Done