airflow.providers.atlassian.jira.notifications.jira

Module Contents

Classes

JiraNotifier

Jira notifier for creating Jira issues upon failures.

Attributes

send_jira_notification

class airflow.providers.atlassian.jira.notifications.jira.JiraNotifier(*, jira_conn_id=JiraHook.default_conn_name, proxies=None, description, summary, project_id, issue_type_id, labels=None)[source]

Bases: airflow.notifications.basenotifier.BaseNotifier

Jira notifier for creating Jira issues upon failures.

Parameters
  • jira_conn_id (str) – The HTTP connection ID for the Jira instance.

  • proxies (Any | None) – Proxies to make the Jira REST API call. Optional

  • description (str) – The content for the body of the issue

  • summary (str) – The title of the issue

  • project_id (int) – The ID of the project under which the issue will be created

  • issue_type_id (int) – The ID of the issue category

  • labels (list[str] | None) – The labels to be applied to the issue

template_fields = ('description', 'summary', 'project_id', 'issue_type_id', 'labels')[source]
hook()[source]
notify(context)[source]

Send a notification.

Parameters

context – The airflow context

airflow.providers.atlassian.jira.notifications.jira.send_jira_notification[source]

Was this entry helpful?