Bug 401997

Summary: Allow to thread messages by references
Product: [Applications] kmail2 Reporter: Charlemagne Lasse <charlemagnelasse>
Component: message listAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: wishlist CC: ahartmetz
Priority: NOR    
Version First Reported In: 5.9.2   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Charlemagne Lasse 2018-12-11 11:22:07 UTC
SUMMARY

Many systems to track bugs (like redmine, jira or as it looks also bugzilla) don't reference the last message generated for the ticket nor an actual message in the ticket. But they keep a  stable References: field

But kmail is not showing them as thread when setting View -> Message List -> Aggregation to "Current Activity, Threaded".

This makes it extremely hard to follow multiple ticket activities in kmail2

Btw. the version number was just guessed. I have no idea what version number kmail2 from 4:18.08.1-1 in Debian has.

STEPS TO REPRODUCE
1. receive multiple messages from redmine 3/jira (from different tickets but at least two from the same ticket)
2. move them all to a single folder
3. switch folder to "Current Activity, Threaded"

OBSERVED RESULT

The view is still not threaded but flat and ordered by data and not by the ticket.


EXPECTED RESULT

A thread is created based on the references/In-Reply-To information.
Comment 1 Andreas Hartmetz 2025-07-16 11:09:57 UTC
Seems to be a duplicate. The "References:" header was used, but the last entry, not the first, which seems to work better for Jira in particular, as the developer who changed it mentioned in the commit message of the change.

*** This bug has been marked as a duplicate of bug 331891 ***