diff --git a/app/dashboard/helpers.py b/app/dashboard/helpers.py index 028d5e32052..03eec9d1705 100644 --- a/app/dashboard/helpers.py +++ b/app/dashboard/helpers.py @@ -486,11 +486,16 @@ def create_new_bounty(old_bounties, bounty_payload, bounty_details, bounty_id): ) new_bounty.fetch_issue_item() - # Pull the interested parties off the last old_bounty + # migrate data objects from old bounty if latest_old_bounty: + # Pull the interested parties off the last old_bounty for interest in latest_old_bounty.interested.all(): new_bounty.interested.add(interest) + # pull the activities off the last old bounty + for activity in latest_old_bounty.activities.all(): + new_bounty.activities.add(activity) + # set cancel date of this bounty canceled_on = latest_old_bounty.canceled_on if latest_old_bounty and latest_old_bounty.canceled_on else None if not canceled_on and new_bounty.status == 'cancelled':