There will be times when a user needs to manually add in an issue or pull request into their week in review, that is not showing up already.
Once we have it persisted to the db, we need to be able to create the appropriate Accomplishment records for it, linking it to the user's WeekInReview.
Issue Resolved
Issue #96
Definition of Done
[x] Service class that takes in a Statistic record and creates the appropriate Accomplishment records for the associated WeekInReview record
[x] Accounts for case where the user is not a creator or assignee of the Statistic
Background
There will be times when a user needs to manually add in an issue or pull request into their week in review, that is not showing up already.
Once we have it persisted to the db, we need to be able to create the appropriate
Accomplishment
records for it, linking it to the user'sWeekInReview
.Issue Resolved
Issue #96
Definition of Done
Statistic
record and creates the appropriateAccomplishment
records for the associatedWeekInReview
recordStatistic