[GH-ISSUE #1170] Assigned user does not receive notification when another project member is subscribed #6330

Closed
opened 2026-04-20 16:54:54 -05:00 by GiteaMirror · 5 comments
Owner

Originally created by @mnadalin on GitHub (Jul 24, 2025).
Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/1170

Description

When a task is created and assigned to a user, that user should be notified. However, if another project member is subscribed to the project, the actual assignee does not receive any notification — and only the subscribed user is notified.


Steps to reproduce

  1. Create a project Azkaban, owned by Administrator.

  2. Share the project with two users:

    • Harry Potter: Read/Write
    • Voldemort: Read/Write
  3. As Voldemort, create a new task and assign it to Administrator.
    Administrator receives the "You have been assigned to the task" notification.

  4. Now, Harry Potter subscribes to the project Azkaban.

  5. Again, as Voldemort, create another task and assign it to Administrator.
    Administrator receives no notification.
    Harry Potter receives a notification, even though he is not involved in the task.


The same problem occurs when using APIs:

  1. Voldemort logs in with username and password using /api/v1/login
  2. Voldemort create a new task using /api/v1/projects/<PROJECT_ID>/tasks
  3. Voldemort assign the new task to Administrator using /api/v1/tasks/<TASK_ID>/assignees

Vikunja Version

Cloned yesterday from commit 97a7e40

Browser and version

No response

Can you reproduce the bug on the Vikunja demo site?

No

Screenshots

No response

Originally created by @mnadalin on GitHub (Jul 24, 2025). Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/1170 ### Description When a task is created and assigned to a user, that user should be notified. However, if another project member is subscribed to the project, the actual assignee **does not receive any notification** — and only the subscribed user is notified. --- ### Steps to reproduce 1. Create a project `Azkaban`, owned by `Administrator`. 2. Share the project with two users: * `Harry Potter`: Read/Write * `Voldemort`: Read/Write 3. As `Voldemort`, create a new task and assign it to `Administrator`. ✅ `Administrator` receives the "You have been assigned to the task" notification. 4. Now, **Harry Potter subscribes to the project `Azkaban`**. 5. Again, as `Voldemort`, create another task and assign it to `Administrator`. ❌ `Administrator` receives **no notification**. ✅ `Harry Potter` receives a notification, even though he is not involved in the task. --- The same problem occurs when using APIs: 1. Voldemort logs in with username and password using `/api/v1/login` 2. Voldemort create a new task using `/api/v1/projects/<PROJECT_ID>/tasks` 3. Voldemort assign the new task to Administrator using `/api/v1/tasks/<TASK_ID>/assignees` ### Vikunja Version Cloned yesterday from commit 97a7e40 ### Browser and version _No response_ ### Can you reproduce the bug on the Vikunja demo site? No ### Screenshots _No response_
Author
Owner

@kolaente commented on GitHub (Jul 24, 2025):

Did you verify if it works on the demo?

<!-- gh-comment-id:3113539536 --> @kolaente commented on GitHub (Jul 24, 2025): Did you verify if it works on the demo?
Author
Owner

@mnadalin commented on GitHub (Jul 24, 2025):

Did you verify if it works on the demo?

Three users are needed to reproduce.

<!-- gh-comment-id:3113561216 --> @mnadalin commented on GitHub (Jul 24, 2025): > Did you verify if it works on the demo? Three users are needed to reproduce.
Author
Owner

@kolaente commented on GitHub (Jul 24, 2025):

You can register new users on the demo.

<!-- gh-comment-id:3113586463 --> @kolaente commented on GitHub (Jul 24, 2025): You can register new users on the demo.
Author
Owner

@mnadalin commented on GitHub (Jul 24, 2025):

My bad, thought it was only demo / demo.
Yes, just tried. I can reproduce the problem on try.vikunja.it

<!-- gh-comment-id:3114795807 --> @mnadalin commented on GitHub (Jul 24, 2025): My bad, thought it was only demo / demo. Yes, just tried. I can reproduce the problem on try.vikunja.it
Author
Owner

@kolaente commented on GitHub (Jul 28, 2025):

There was a similar issue https://github.com/go-vikunja/vikunja/issues/1181 which has been fixed. Can you still verify this with the latest unstable build or on the demo?

<!-- gh-comment-id:3126311068 --> @kolaente commented on GitHub (Jul 28, 2025): There was a similar issue https://github.com/go-vikunja/vikunja/issues/1181 which has been fixed. Can you still verify this with the latest unstable build or on the demo?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#6330