oddballteam/magnifier

Create Accomplishment records for newly added Statistic

Closed this issue · 1 comments

hpjaj commented

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's WeekInReview.

Definition of Done

  • Service class that takes in a Statistic record and creates the appropriate Accomplishment records for the associated WeekInReview record
  • Accounts for case where the user is not a creator or assignee of the Statistic
hpjaj commented

completed