A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.unstructured.io/api-reference/workflow/sources/jira below:

Jira - Unstructured

import os

from unstructured_client import UnstructuredClient
from unstructured_client.models.operations import CreateSourceRequest
from unstructured_client.models.shared import CreateSourceConnector

with UnstructuredClient(api_key_auth=os.getenv("UNSTRUCTURED_API_KEY")) as client:
    response = client.sources.create_source(
        request=CreateSourceRequest(
            create_source_connector=CreateSourceConnector(
                name="<name>",
                type="jira",
                config={
                    "url": "<url>",

                    # For password or API token authentication:
                    # "username": "<username>",
                    # "password": "<password>",

                    # For personal access token authentication:
                    # "token": "<token>",

                    "projects": [
                        "<project-id>",
                        "<project-id>"
                    ],
                    "boards": [
                        "<board-id>",
                        "<board-id>"
                    ],
                    "issues": [
                        "<issue-id>",
                        "<issue-id>"
                    ],
                    "status_filters": [
                        "<status>",
                        "<status>"
                    ],
                    "download_attachments": <True|False>,
                    "cloud": <True|False>
                }
            )
        )
    )

    print(response.source_connector_information)

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4