airflow.providers.jira.operators.jira
¶
Module Contents¶
-
class
airflow.providers.jira.operators.jira.
JiraOperator
(*, jira_method: str, jira_conn_id: str = 'jira_default', jira_method_args: Optional[dict] = None, result_processor: Optional[Callable] = None, get_jira_resource_method: Optional[Callable] = None, **kwargs)[source]¶ Bases:
airflow.models.BaseOperator
JiraOperator to interact and perform action on Jira issue tracking system. This operator is designed to use Jira Python SDK: http://jira.readthedocs.io
- Parameters
jira_conn_id (str) -- reference to a pre-defined Jira Connection
jira_method (str) -- method name from Jira Python SDK to be called
jira_method_args (dict) -- required method parameters for the jira_method. (templated)
result_processor (function) -- function to further process the response from Jira
get_jira_resource_method (function) -- function or operator to get jira resource on which the provided jira_method will be executed