# atlassian-api/atlassian-python-api architecture

> Architecture diagram of the GitHub repository atlassian-api/atlassian-python-api, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-11). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/atlassian-api/atlassian-python-api
- Repository: https://github.com/atlassian-api/atlassian-python-api

## Overview

This is a Python client library for automating work across Atlassian products, not a server-side application: users instantiate a product client, invoke domain operations, and receive API responses. The main workflow is product-specific requests through shared HTTP, authentication, pagination, and response handling to Atlassian REST APIs. The graph preserves the documented Jira, Confluence, Bitbucket, service-management, and broader product coverage. Source excerpts are partial; unsampled product areas are represented only at paths supported by the tree, with no inferred internal call chains.

Main entry points: [`atlassian/jira/jira_server.py`](https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/jira/jira_server.py) (Jira client), [`atlassian/confluence_base.py`](https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/confluence_base.py) (Confluence version layer), [`atlassian/rest_client.py`](https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/rest_client.py) (HTTP REST client), [`atlassian/bitbucket/base.py`](https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/bitbucket/base.py) (Bitbucket client)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_clients["Product clients"]
  node_jira["Jira client<br/>[jira_server.py]"]
  node_jira_cloud["Jira Cloud<br/>[jira_cloud.py]"]
  node_confluence["Confluence client<br/>[base.py]"]
  node_bitbucket["Bitbucket client<br/>[base.py]"]
  node_tempo["Tempo Server<br/>[__init__.py]"]
end

subgraph group_domains["Product operations"]
  node_jira_core["Jira issues<br/>[core_methods.py]"]
  node_jira_software["Jira Software"]
  node_service_management["Service management"]
  node_service_desk["Service Desk<br/>[service_desk.py]"]
  node_confluence_cloud["Confluence Cloud<br/>[cloud.py]"]
  node_confluence_server["Confluence Server"]
  node_confluence_tasks["Confluence tasks<br/>[tasks.py]"]
  node_confluence_databases["Confluence databases<br/>[databases.py]"]
  node_bitbucket_cloud["Bitbucket Cloud<br/>[base.py]"]
  node_bitbucket_repositories["Repository operations<br/>[commits.py]"]
  node_bitbucket_pull_requests["Pull requests<br/>[pullRequests.py]"]
  node_bitbucket_pipelines["Pipelines<br/>[pipelines.py]"]
  node_bitbucket_users["Cloud users<br/>[users.py]"]
  node_tempo_timesheets["Timesheets<br/>[timesheets.py]"]
  node_tempo_events["Events<br/>[events.py]"]
  node_other_products["Other product APIs<br/>[statuspage.py]"]
end

subgraph group_shared["Shared runtime"]
  node_confluence_shared["Confluence version layer<br/>[confluence_base.py]"]
  node_rest["HTTP REST client<br/>[rest_client.py]"]
  node_typehints["Shared type hints<br/>[typehints.py]"]
end

subgraph group_models["Jira models"]
  node_jira_builder["Issue builders<br/>[builders.py]"]
  node_jira_fields["Issue fields<br/>[fields.py]"]
  node_jira_issues["Issue types<br/>[issues.py]"]
  node_jira_serializer["Jira serializer<br/>[serializer.py]"]
end

node_developer(("Python developer"))
node_atlassian_apis{{"Atlassian REST APIs"}}

node_developer -->|"uses"| node_jira
node_developer -->|"uses"| node_confluence
node_developer -->|"uses"| node_bitbucket
node_developer -->|"uses"| node_tempo
node_developer -->|"integrates"| node_other_products
node_jira -->|"provides"| node_jira_core
node_jira -->|"provides"| node_jira_software
node_jira -->|"provides"| node_service_management
node_jira_cloud -->|"supports"| node_jira_core
node_jira -->|"inherits"| node_rest
node_service_desk -->|"inherits"| node_rest
node_jira_builder -->|"builds"| node_jira_fields
node_jira_builder -->|"constructs"| node_jira_issues
node_jira_fields -->|"serializes"| node_jira_serializer
node_jira_serializer -->|"uses"| node_jira_fields
node_confluence -->|"inherits"| node_confluence_shared
node_confluence_shared -->|"inherits"| node_rest
node_confluence_shared -->|"delegates"| node_confluence_cloud
node_confluence_shared -->|"delegates"| node_confluence_server
node_confluence_tasks -->|"inherits"| node_confluence_shared
node_confluence_databases -->|"inherits"| node_confluence_shared
node_bitbucket -->|"inherits"| node_rest
node_bitbucket_cloud -->|"inherits"| node_bitbucket
node_bitbucket_repositories -->|"inherits"| node_bitbucket_cloud
node_bitbucket_pull_requests -->|"inherits"| node_bitbucket_cloud
node_bitbucket_pipelines -->|"uses"| node_bitbucket_pull_requests
node_bitbucket_users -->|"inherits"| node_bitbucket_cloud
node_tempo -->|"initializes"| node_tempo_timesheets
node_tempo -->|"initializes"| node_tempo_events
node_tempo_timesheets -->|"inherits"| node_rest
node_tempo_events -->|"inherits"| node_rest
node_jira -->|"sends REST requests"| node_atlassian_apis
node_confluence -->|"sends REST requests"| node_atlassian_apis
node_bitbucket -->|"sends REST requests"| node_atlassian_apis
node_other_products -->|"wraps product APIs"| node_atlassian_apis
node_jira_cloud -.->|"uses types"| node_typehints

click node_jira "https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/jira/jira_server.py"
click node_jira_cloud "https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/jira/jira_cloud.py"
click node_jira_core "https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/jira/core_methods.py"
click node_jira_software "https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/jira/software_methods.py"
click node_service_management "https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/jira/service_management_methods.py"
click node_service_desk "https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/service_desk.py"
click node_jira_builder "https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/models/jira/builders.py"
click node_jira_fields "https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/models/jira/fields.py"
click node_jira_issues "https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/models/jira/issues.py"
click node_jira_serializer "https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/models/jira/serializer.py"
click node_confluence "https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/confluence/base.py"
click node_confluence_shared "https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/confluence_base.py"
click node_confluence_cloud "https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/confluence/cloud/cloud.py"
click node_confluence_server "https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/confluence/server/confluence_server.py"
click node_confluence_tasks "https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/confluence/cloud/tasks.py"
click node_confluence_databases "https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/confluence/cloud/databases.py"
click node_bitbucket "https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/bitbucket/base.py"
click node_bitbucket_cloud "https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/bitbucket/cloud/base.py"
click node_bitbucket_repositories "https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/bitbucket/cloud/repositories/commits.py"
click node_bitbucket_pull_requests "https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/bitbucket/cloud/repositories/pullRequests.py"
click node_bitbucket_pipelines "https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/bitbucket/cloud/repositories/pipelines.py"
click node_bitbucket_users "https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/bitbucket/cloud/common/users.py"
click node_tempo "https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/tempo/server/__init__.py"
click node_tempo_timesheets "https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/tempo/server/timesheets.py"
click node_tempo_events "https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/tempo/server/events.py"
click node_other_products "https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/statuspage.py"
click node_rest "https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/rest_client.py"
click node_typehints "https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/typehints.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_jira,node_jira_cloud,node_confluence,node_bitbucket,node_tempo toneBlue
class node_jira_core,node_jira_software,node_service_management,node_service_desk,node_confluence_cloud,node_confluence_server,node_confluence_tasks,node_confluence_databases,node_bitbucket_cloud,node_bitbucket_repositories,node_bitbucket_pull_requests,node_bitbucket_pipelines,node_bitbucket_users,node_tempo_timesheets,node_tempo_events,node_other_products toneAmber
class node_confluence_shared,node_rest,node_typehints,node_atlassian_apis toneMint
class node_jira_builder,node_jira_fields,node_jira_issues,node_jira_serializer toneRose
class node_developer toneIndigo
```

## Components

### Product clients

- [Jira client](https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/jira/jira_server.py): `atlassian/jira/jira_server.py`
- [Jira Cloud](https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/jira/jira_cloud.py): `atlassian/jira/jira_cloud.py`
- [Confluence client](https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/confluence/base.py): `atlassian/confluence/base.py`
- [Bitbucket client](https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/bitbucket/base.py): `atlassian/bitbucket/base.py`
- [Tempo Server](https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/tempo/server/__init__.py): `atlassian/tempo/server/__init__.py`

### Product operations

- [Jira issues](https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/jira/core_methods.py): `atlassian/jira/core_methods.py`
- [Jira Software](https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/jira/software_methods.py): `atlassian/jira/software_methods.py`
- [Service management](https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/jira/service_management_methods.py): `atlassian/jira/service_management_methods.py`
- [Service Desk](https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/service_desk.py): `atlassian/service_desk.py`
- [Confluence Cloud](https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/confluence/cloud/cloud.py): `atlassian/confluence/cloud/cloud.py`
- [Confluence Server](https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/confluence/server/confluence_server.py): `atlassian/confluence/server/confluence_server.py`
- [Confluence tasks](https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/confluence/cloud/tasks.py): `atlassian/confluence/cloud/tasks.py`
- [Confluence databases](https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/confluence/cloud/databases.py): `atlassian/confluence/cloud/databases.py`
- [Bitbucket Cloud](https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/bitbucket/cloud/base.py): `atlassian/bitbucket/cloud/base.py`
- [Repository operations](https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/bitbucket/cloud/repositories/commits.py): `atlassian/bitbucket/cloud/repositories/commits.py`
- [Pull requests](https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/bitbucket/cloud/repositories/pullRequests.py): `atlassian/bitbucket/cloud/repositories/pullRequests.py`
- [Pipelines](https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/bitbucket/cloud/repositories/pipelines.py): `atlassian/bitbucket/cloud/repositories/pipelines.py`
- [Cloud users](https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/bitbucket/cloud/common/users.py): `atlassian/bitbucket/cloud/common/users.py`
- [Timesheets](https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/tempo/server/timesheets.py): `atlassian/tempo/server/timesheets.py`
- [Events](https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/tempo/server/events.py): `atlassian/tempo/server/events.py`
- [Other product APIs](https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/statuspage.py): `atlassian/statuspage.py`

### Shared runtime

- [Confluence version layer](https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/confluence_base.py): `atlassian/confluence_base.py`
- [HTTP REST client](https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/rest_client.py): `atlassian/rest_client.py`
- [Shared type hints](https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/typehints.py): `atlassian/typehints.py`

### Jira models

- [Issue builders](https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/models/jira/builders.py): `atlassian/models/jira/builders.py`
- [Issue fields](https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/models/jira/fields.py): `atlassian/models/jira/fields.py`
- [Issue types](https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/models/jira/issues.py): `atlassian/models/jira/issues.py`
- [Jira serializer](https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/models/jira/serializer.py): `atlassian/models/jira/serializer.py`

### Other components

- **Python developer**
- **Atlassian REST APIs**

## Connections

- Python developer → Jira client: uses
- Python developer → Confluence client: uses
- Python developer → Bitbucket client: uses
- Python developer → Tempo Server: uses (evidence: `atlassian/tempo/server/__init__.py`)
- Python developer → Other product APIs: integrates
- Jira client → Jira issues: provides (evidence: `atlassian/jira/jira_server.py`)
- Jira client → Jira Software: provides (evidence: `atlassian/jira/jira_server.py`)
- Jira client → Service management: provides (evidence: `atlassian/jira/jira_server.py`)
- Jira Cloud → Jira issues: supports
- Jira client → HTTP REST client: inherits (evidence: `atlassian/jira/jira_server.py`)
- Service Desk → HTTP REST client: inherits (evidence: `atlassian/service_desk.py`)
- Issue builders → Issue fields: builds (evidence: `atlassian/models/jira/builders.py`)
- Issue builders → Issue types: constructs (evidence: `atlassian/models/jira/builders.py`)
- Issue fields → Jira serializer: serializes (evidence: `atlassian/models/jira/fields.py`)
- Jira serializer → Issue fields: uses (evidence: `atlassian/models/jira/serializer.py`)
- Confluence client → Confluence version layer: inherits (evidence: `atlassian/confluence/base.py`)
- Confluence version layer → HTTP REST client: inherits (evidence: `atlassian/confluence_base.py`)
- Confluence version layer → Confluence Cloud: delegates (evidence: `atlassian/confluence_base.py`)
- Confluence version layer → Confluence Server: delegates (evidence: `atlassian/confluence_base.py`)
- Confluence tasks → Confluence version layer: inherits (evidence: `atlassian/confluence/cloud/tasks.py`)
- Confluence databases → Confluence version layer: inherits (evidence: `atlassian/confluence/cloud/databases.py`)
- Bitbucket client → HTTP REST client: inherits (evidence: `atlassian/bitbucket/base.py`)
- Bitbucket Cloud → Bitbucket client: inherits (evidence: `atlassian/bitbucket/cloud/base.py`)
- Repository operations → Bitbucket Cloud: inherits
- Pull requests → Bitbucket Cloud: inherits (evidence: `atlassian/bitbucket/cloud/repositories/pullRequests.py`)
- Pipelines → Pull requests: uses (evidence: `atlassian/bitbucket/cloud/repositories/pipelines.py`)
- Cloud users → Bitbucket Cloud: inherits (evidence: `atlassian/bitbucket/cloud/common/users.py`)
- Tempo Server → Timesheets: initializes (evidence: `atlassian/tempo/server/__init__.py`)
- Tempo Server → Events: initializes (evidence: `atlassian/tempo/server/__init__.py`)
- Timesheets → HTTP REST client: inherits (evidence: `atlassian/tempo/server/timesheets.py`)
- Events → HTTP REST client: inherits (evidence: `atlassian/tempo/server/events.py`)
- Jira client → Atlassian REST APIs: sends REST requests
- Confluence client → Atlassian REST APIs: sends REST requests
- Bitbucket client → Atlassian REST APIs: sends REST requests
- Other product APIs → Atlassian REST APIs: wraps product APIs
- Jira Cloud → Shared type hints: uses types
