[bug]: Work item export lists removed assignees, and a re-added assignee twice

Aperta
#10,386 1 commento 0 reazioni 2 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@vihar ci sta già lavorando.

Dal 24/11/2026.

  • #10393 di @ashokram-si — aperta
  • #10412 di @avesh-pathak — aperta

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

🐛bug plane
Is there an existing issue for this?
  • I have searched the existing issues
Current behavior

Exporting work items (CSV, Excel or JSON) lists people who were removed as assignees. Someone who was removed and then assigned again shows up twice.

Removing an assignee soft deletes its IssueAssignee row. The export prefetches assignees (apps/api/plane/bgtasks/export_task.py), and IssueExportSerializer.get_assignees (apps/api/plane/utils/porters/serializers/issue.py) reads obj.assignees.all(), which goes through that table without filtering deleted_at. get_labels in the same serializer already skips deleted rows.

Steps to reproduce
  1. Assign a member to a work item, then remove them.
  2. Export the project's work items in any format.
  3. The member is still in the assignees column.
  4. Assign them again and export: they appear twice.
Environment

Production

Browser

None

Edition

Community

Version

v1.5.0 (also on preview at 723bb178f)

Lingua principale
TypeScript
Stelle
63k
Fork
6.5k
Merge medio
2g 16h
PR unite (30g)
70

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di makeplane/plane

Tutte le issue di makeplane/plane

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.