'Subscribe a user to an issue, but only if the user has not explicitly
unsubscribed.'

def subscribe(self, group, user, reason=GroupSubscriptionReason.unknown):

    try:
        with transaction.atomic():
            self.create(user=user, group=group, project=group.project, is_active=True, reason=reason)
    except IntegrityError:
        pass
