Project

General

Profile

Actions

Feature #16748

open

Store the status name in the issue history

Added by @ go2null over 10 years ago. Updated over 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

Also available in: Atom PDF