-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
Description
Objective
Implement an activity history and audit log system for tasks. Track all changes made to tasks including status updates, field modifications, assignee changes, comments, and relationship updates. Provide a timeline view of all activities.
Scope
In scope:
- Create task_history entity to store activity logs
- Capture events: status changes, field updates, assignee changes, label/tag modifications
- Store old and new values for auditing
- Track user who made the change and timestamp
- GET /api/tasks/:id/history endpoint to retrieve activity log
- Pagination support for history
- Filter history by event type or date range
Out of scope:
- Real-time notifications for changes (separate issue)
- UI component to display timeline (separate issue)
- Rollback/undo functionality
- Detailed diff view for text fields
Acceptance criteria
- task_history entity created with event type, old_value, new_value, user_id, timestamp
- Automatic logging when task fields are modified
- Automatic logging when status changes
- Automatic logging when assignees change
- Automatic logging when labels/tags change
- Automatic logging when relationships are added/removed
- GET /api/tasks/:id/history endpoint working
- Pagination implemented for history endpoint
- Filter by event type parameter
- Filter by date range parameters
- Unit tests for history tracking
- API documentation updated
Deadline (optional)
No response
Reactions are currently unavailable