Actions
Feature #16748
openStore the status name in the issue history
Status:
New
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Description
Currently, journal_details
table only stores the id
of the standard issue fields in old_value
and value
.
This leads to the Issue History displaying the current value of the id
, and if that id
is deleted, the id
itself.
- I change the Status from
New
toAccepted
.- Issue History indicates:
Status changed from New to Accepted
.
- Issue History indicates:
- The Admin then change the name of the status to
Just-Before-Accepted
.- Issue History indicates:
Status changed from New to Just-Before-Accepted
.
- Issue History indicates:
- Some time later, issue is closed and this status is deleted.
- Issue History indicates:
Status changed from New to 2
.
- Issue History indicates:
Displaying of the current name, or id, breaks the audit trail and the context under which the original action was taken.
One way of addressing this is to add old_id
and new_id
fields to capture the field relations (which if useful for linking, etc) and use the old_value
and value
fields for displaying.
Updated by Jean-Philippe Lang over 10 years ago
- Tracker changed from Defect to Feature
- Subject changed from Issue History does not store value of standard fields. to Store the status name in the issue history
Updated by @ go2null over 10 years ago
Note that this affects all standard list/enumeration fields, not just Status.
I've confirmed the behaviour (value changes to current value, or toid
when deleted)
- Assignee (deleted Group =>
id
, deleted User =>Anonymous
), - Category,
- Priority,
- Target version.
(I have only checked Issue fields, not Document, etc.)
Actions