Skip to main content

Mail recipients

Recipient Triggers Template Code
doc_affecteddoc_group_chairs ballot_approved_conflrev, ballot_deferred, doc_iana_state_changed, doc_state_edited, doc_telechat_details_changed , ballot_approved_status_change, ballot_saved, conflrev_ad_changed, conflrev_requested, iesg_ballot_saved, irsg_ballot_issued, irsg_ballot_saved, last_call_issued, rsab_ballot_issued, rsab_ballot_saved
    def gather_doc_affecteddoc_group_chairs(self, **kwargs):
        addrs = []
        if 'doc' in kwargs:
            for reldoc in kwargs['doc'].related_that_doc(('conflrev','tohist','tois','tops')):
                addrs.extend(Recipient.objects.get(slug='doc_group_chairs').gather(**{'doc':reldoc}))
        return addrs