In a bugtrackingsystem, I want to keep track of some actions. Actions like change status, add comment, change priority, and other actions.
The problem is, how do I store those different actions, with different parameters. For example when someone changes status, it needs to save statuschange, with old status and new status. But when someone adds a comment, it needs to save comment added, with comment id.
One solution could be to save those parameters as plain text. Like "oldstatus => new status", "comment 001 added". But that doesn't seem really viable.
Does someone know how this could work best?