def jira_add_label()

in notifier.py [0:0]


    def jira_add_label(self, ticket):
        """Add a "PR available" label to JIRA"""
        data = {"update": {"labels": [{"add": "pull-request-available"}]}}
        rv = requests.put(
            "https://issues.apache.org/jira/rest/api/latest/issue/%s" % ticket,
            headers=JIRA_HEADERS,
            auth=JIRA_AUTH,
            json=data,
        )
        if rv.status_code == 200 or rv.status_code == 201:
            return "Added PR label to Ticket %s\n" % ticket
        else:
            raise Exception(rv.text)