Project

General

Profile

Actions

Feature #16748

open

Store the status name in the issue history

Added by @ go2null almost 10 years ago. Updated almost 10 years ago.

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.

For example:
  • I change the Status from New to Accepted.
    • Issue History indicates: Status changed from New to Accepted.
  • The Admin then change the name of the status to Just-Before-Accepted.
    • Issue History indicates: Status changed from New to Just-Before-Accepted.
  • Some time later, issue is closed and this status is deleted.
    • Issue History indicates: Status changed from New to 2.

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.

Actions #1

Updated by Jean-Philippe Lang almost 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
Actions #2

Updated by @ go2null almost 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 to id when deleted)
  • Assignee (deleted Group => id, deleted User => Anonymous),
  • Category,
  • Priority,
  • Target version.

(I have only checked Issue fields, not Document, etc.)

Actions

Also available in: Atom PDF