airflow.providers.atlassian.jira.operators.jira

Module Contents

Classes

JiraOperator

JiraOperator to interact and perform action on Jira issue tracking system.

class airflow.providers.atlassian.jira.operators.jira.JiraOperator(*, jira_method, jira_conn_id='jira_default', jira_method_args=None, result_processor=None, get_jira_resource_method=None, **kwargs)[source]

Bases: airflow.models.BaseOperator

JiraOperator to interact and perform action on Jira issue tracking system.

This operator is designed to use Atlassian Jira SDK. For more information: https://atlassian-python-api.readthedocs.io/jira.html

Parameters
  • jira_conn_id (str) – Reference to a pre-defined Jira Connection.

  • jira_method (str) – Method name from Atlassian Jira Python SDK to be called.

  • jira_method_args (dict | None) – Method parameters for the jira_method. (templated)

  • result_processor (Callable | None) – Function to further process the response from Jira.

  • get_jira_resource_method (Callable | None) – Function or operator to get Jira resource on which the provided jira_method will be executed.

template_fields: Sequence[str] = ('jira_method_args',)[source]
execute(context)[source]

Derive when creating an operator.

Context is the same dictionary used as when rendering jinja templates.

Refer to get_template_context for more context.

Was this entry helpful?