atlassian-python-api 4.0.5__tar.gz → 4.0.7__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {atlassian_python_api-4.0.5/atlassian_python_api.egg-info → atlassian_python_api-4.0.7}/PKG-INFO +34 -12
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/README.rst +33 -11
- atlassian_python_api-4.0.7/atlassian/VERSION +1 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/bitbucket/cloud/common/comments.py +4 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/bitbucket/cloud/common/users.py +2 -2
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/bitbucket/cloud/repositories/commits.py +4 -1
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/bitbucket/cloud/repositories/pullRequests.py +10 -1
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/bitbucket/cloud/repositories/refs.py +4 -1
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/confluence/__init__.py +1 -1
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/jira.py +65 -10
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/rest_client.py +1 -1
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7/atlassian_python_api.egg-info}/PKG-INFO +34 -12
- atlassian_python_api-4.0.5/atlassian/VERSION +0 -1
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/LICENSE +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/MANIFEST.in +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/__init__.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/assets.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/bamboo.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/bitbucket/__init__.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/bitbucket/base.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/bitbucket/cloud/__init__.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/bitbucket/cloud/base.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/bitbucket/cloud/common/__init__.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/bitbucket/cloud/common/builds.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/bitbucket/cloud/repositories/__init__.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/bitbucket/cloud/repositories/branchRestrictions.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/bitbucket/cloud/repositories/defaultReviewers.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/bitbucket/cloud/repositories/deploymentEnvironments.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/bitbucket/cloud/repositories/diffstat.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/bitbucket/cloud/repositories/downloads.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/bitbucket/cloud/repositories/groupPermissions.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/bitbucket/cloud/repositories/hooks.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/bitbucket/cloud/repositories/issues.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/bitbucket/cloud/repositories/pipelines.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/bitbucket/cloud/repositories/repositoryVariables.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/bitbucket/cloud/workspaces/__init__.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/bitbucket/cloud/workspaces/members.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/bitbucket/cloud/workspaces/permissions.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/bitbucket/cloud/workspaces/projects.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/bitbucket/server/__init__.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/bitbucket/server/base.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/bitbucket/server/common/__init__.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/bitbucket/server/common/permissions.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/bitbucket/server/globalPermissions.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/bitbucket/server/projects/__init__.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/bitbucket/server/projects/repos/__init__.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/cloud_admin.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/crowd.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/errors.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/insight.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/marketplace.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/portfolio.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/py.typed +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/request_utils.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/service_desk.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/statuspage.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/typehints.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/utils.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/xray.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian_python_api.egg-info/SOURCES.txt +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian_python_api.egg-info/dependency_links.txt +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian_python_api.egg-info/not-zip-safe +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian_python_api.egg-info/requires.txt +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian_python_api.egg-info/top_level.txt +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/pyproject.toml +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/requirements.txt +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/setup.cfg +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/setup.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/__init__.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/__pycache__/__init__.cpython-39.pyc +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/__pycache__/mockup.cpython-39.pyc +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/__pycache__/test_base.cpython-39-pytest-8.3.4.pyc +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/__pycache__/test_base.cpython-39-pytest-8.3.5.pyc +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/__pycache__/test_bitbucket_cloud_oo.cpython-39-pytest-8.3.4.pyc +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/__pycache__/test_bitbucket_cloud_oo.cpython-39-pytest-8.3.5.pyc +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/__pycache__/test_bitbucket_server.cpython-39-pytest-8.3.4.pyc +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/__pycache__/test_bitbucket_server.cpython-39-pytest-8.3.5.pyc +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/__pycache__/test_bitbucket_server_oo.cpython-39-pytest-8.3.4.pyc +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/__pycache__/test_bitbucket_server_oo.cpython-39-pytest-8.3.5.pyc +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/__pycache__/test_confluence_advanced_mode.cpython-39-pytest-8.3.4.pyc +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/__pycache__/test_confluence_advanced_mode.cpython-39-pytest-8.3.5.pyc +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/__pycache__/test_confluence_attach.cpython-39-pytest-8.3.4.pyc +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/__pycache__/test_confluence_attach.cpython-39-pytest-8.3.5.pyc +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/__pycache__/test_jira.cpython-39-pytest-8.3.4.pyc +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/__pycache__/test_jira.cpython-39-pytest-8.3.5.pyc +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/__pycache__/test_servicedesk.cpython-39-pytest-8.3.4.pyc +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/__pycache__/test_servicedesk.cpython-39-pytest-8.3.5.pyc +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/mockup.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/TestRepositoryCreated/POST +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/branch-restrictions/17203842/DELETE +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/branch-restrictions/17203842/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/branch-restrictions/17203842/PUT +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/branch-restrictions/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/default-reviewers/DefaultReviewer1Uuid/DELETE +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/default-reviewers/DefaultReviewer1Uuid/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/default-reviewers/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/issues/3/DELETE +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/issues/3/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/issues/3/PUT +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/issues/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/issues/POST +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pipelines/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pipelines/POST +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pipelines/{PipelineUuid}/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pipelines/{PipelineUuid}/steps/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pipelines/{PipelineUuid}/steps/{PipelineStep1Uuid}/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pipelines/{PipelineUuid}/steps/{PipelineStep2Uuid}/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pipelines/{PipelineUuid}/steps/{PipelineStep2Uuid}/log/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pipelines/{PipelineUuid}/stopPipeline/POST +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/approve/DELETE +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/approve/POST +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/comments/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/comments/POST +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/commits/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/decline/POST +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/merge/POST +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/request-changes/DELETE +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/request-changes/POST +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/statuses/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/tasks/123456/DELETE +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/tasks/123456/PUT +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/tasks/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/tasks/POST +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/25/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/POST +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/cloud/2.0/workspaces/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/cloud/2.0/workspaces/TestWorkspace1/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/cloud/2.0/workspaces/TestWorkspace2/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/cloud/2.0/workspaces/TestWorkspace3/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/server/rest/api/1.0/admin/permissions/groups/DELETE +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/server/rest/api/1.0/admin/permissions/groups/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/server/rest/api/1.0/admin/permissions/groups/none/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/server/rest/api/1.0/admin/permissions/users/DELETE +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/server/rest/api/1.0/admin/permissions/users/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/server/rest/api/1.0/admin/permissions/users/none/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/server/rest/api/1.0/projects/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/PUT +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/permissions/groups/DELETE +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/permissions/groups/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/permissions/groups/none/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/permissions/users/DELETE +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/permissions/users/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/permissions/users/none/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/PUT +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/archive/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/contributing/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/default-branch/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/default-branch/PUT +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/forks/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/license/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/permissions/groups/DELETE +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/permissions/groups/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/permissions/groups/none/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/permissions/users/DELETE +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/permissions/users/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/permissions/users/none/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/readme/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/related/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/webhooks/3/DELETE +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/webhooks/3/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/webhooks/3/PUT +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/webhooks/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/webhooks/POST +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/jira/rest/agile/1.0/epic/BAR-22/issue/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/jira/rest/agile/1.0/epic/none/issue/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/jira/rest/api/2/comment/list/POST +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/jira/rest/api/2/issue/FOO-123/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/jira/rest/api/2/issue/FOO-123/comment/10000/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/jira/rest/api/2/issue/FOO-123/comment/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/jira/rest/api/2/issue/FOO-123/properties/Bar1/DELETE +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/jira/rest/api/2/issue/FOO-123/properties/Bar1/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/jira/rest/api/2/issue/FOO-123/properties/Bar1/PUT +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/jira/rest/api/2/issue/FOO-123/properties/Bar2New/PUT +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/jira/rest/api/2/issue/FOO-123/properties/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/jira/rest/api/2/issue/FOO-123/remotelink/POST +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/jira/rest/api/2/issue/POST +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/jira/rest/api/2/issue/REGEX-123/file.txt +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/servicedesk/rest/servicedeskapi/customer/POST +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/servicedesk/rest/servicedeskapi/organization/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/servicedesk/rest/servicedeskapi/organization/POST +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/servicedesk/rest/servicedeskapi/organization/{organizationId}/DELETE +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/servicedesk/rest/servicedeskapi/organization/{organizationId}/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/servicedesk/rest/servicedeskapi/organization/{organizationId}/property/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/servicedesk/rest/servicedeskapi/organization/{organizationId}/user/DELETE +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/servicedesk/rest/servicedeskapi/organization/{organizationId}/user/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/servicedesk/rest/servicedeskapi/organization/{organizationId}/user/POST +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/servicedesk/rest/servicedeskapi/servicedesk/{serviceDeskId}/customer/DELETE +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/servicedesk/rest/servicedeskapi/servicedesk/{serviceDeskId}/customer/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/servicedesk/rest/servicedeskapi/servicedesk/{serviceDeskId}/customer/POST +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/servicedesk/rest/servicedeskapi/servicedesk/{serviceDeskId}/organization/DELETE +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/servicedesk/rest/servicedeskapi/servicedesk/{serviceDeskId}/organization/GET +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/responses/servicedesk/rest/servicedeskapi/servicedesk/{serviceDeskId}/organization/POST +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/test_base.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/test_bitbucket_cloud_oo.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/test_bitbucket_server.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/test_bitbucket_server_oo.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/test_confluence_advanced_mode.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/test_confluence_attach.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/test_jira.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tests/test_servicedesk.py +0 -0
- {atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/tox.ini +0 -0
{atlassian_python_api-4.0.5/atlassian_python_api.egg-info → atlassian_python_api-4.0.7}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: atlassian-python-api
|
|
3
|
-
Version: 4.0.
|
|
3
|
+
Version: 4.0.7
|
|
4
4
|
Summary: Python Atlassian REST API Wrapper
|
|
5
5
|
Home-page: https://github.com/atlassian-api/atlassian-python-api
|
|
6
6
|
Download-URL: https://github.com/atlassian-api/atlassian-python-api
|
|
@@ -116,11 +116,15 @@ Here's a short example of how to create a Confluence page:
|
|
|
116
116
|
.. code-block:: python
|
|
117
117
|
|
|
118
118
|
from atlassian import Confluence
|
|
119
|
-
|
|
119
|
+
import requests
|
|
120
|
+
# If you want to use a session, you can create it like this:
|
|
121
|
+
session = requests.Session()
|
|
122
|
+
# and pass it to the Confluence constructor
|
|
120
123
|
confluence = Confluence(
|
|
121
124
|
url='http://localhost:8090',
|
|
122
125
|
username='admin',
|
|
123
|
-
password='admin'
|
|
126
|
+
password='admin',
|
|
127
|
+
session=session,)
|
|
124
128
|
|
|
125
129
|
status = confluence.create_page(
|
|
126
130
|
space='DEMO',
|
|
@@ -135,11 +139,14 @@ And here's another example of how to get issues from Jira using JQL Query:
|
|
|
135
139
|
.. code-block:: python
|
|
136
140
|
|
|
137
141
|
from atlassian import Jira
|
|
142
|
+
import requests
|
|
138
143
|
|
|
144
|
+
session = requests.Session()
|
|
139
145
|
jira = Jira(
|
|
140
146
|
url='http://localhost:8080',
|
|
141
147
|
username='admin',
|
|
142
|
-
password='admin'
|
|
148
|
+
password='admin',
|
|
149
|
+
session=session) # Optional: use a session for persistent connections
|
|
143
150
|
JQL = 'project = DEMO AND status IN ("To Do", "In Progress") ORDER BY issuekey'
|
|
144
151
|
data = jira.jql(JQL)
|
|
145
152
|
print(data)
|
|
@@ -149,12 +156,14 @@ The traditional jql method is deprecated for Jira Cloud users, as Atlassian has
|
|
|
149
156
|
.. code-block:: python
|
|
150
157
|
|
|
151
158
|
from atlassian import Jira
|
|
152
|
-
|
|
159
|
+
import requests
|
|
160
|
+
session = requests.Session()
|
|
153
161
|
jira = Jira(
|
|
154
162
|
url='https://your-jira-instance.atlassian.net',
|
|
155
163
|
username='your-email@example.com',
|
|
156
164
|
password='your-api-token',
|
|
157
|
-
cloud=True # Ensure this is set to True for Jira Cloud
|
|
165
|
+
cloud=True, # Ensure this is set to True for Jira Cloud
|
|
166
|
+
session=session # Optional: use a session for persistent connections
|
|
158
167
|
)
|
|
159
168
|
JQL = 'project = DEMO AND status IN ("To Do", "In Progress") ORDER BY issuekey'
|
|
160
169
|
# Fetch issues using the new enhanced_jql method
|
|
@@ -166,11 +175,14 @@ Also, you can use the Bitbucket module e.g. for getting project list
|
|
|
166
175
|
.. code-block:: python
|
|
167
176
|
|
|
168
177
|
from atlassian import Bitbucket
|
|
178
|
+
import requests
|
|
169
179
|
|
|
180
|
+
session= requests.Session()
|
|
170
181
|
bitbucket = Bitbucket(
|
|
171
182
|
url='http://localhost:7990',
|
|
172
183
|
username='admin',
|
|
173
|
-
password='admin'
|
|
184
|
+
password='admin',
|
|
185
|
+
session=session)
|
|
174
186
|
|
|
175
187
|
data = bitbucket.project_list()
|
|
176
188
|
print(data)
|
|
@@ -181,11 +193,12 @@ Example to get your requests:
|
|
|
181
193
|
.. code-block:: python
|
|
182
194
|
|
|
183
195
|
from atlassian import ServiceDesk
|
|
184
|
-
|
|
196
|
+
import requests
|
|
185
197
|
sd = ServiceDesk(
|
|
186
198
|
url='http://localhost:7990',
|
|
187
199
|
username='admin',
|
|
188
|
-
password='admin'
|
|
200
|
+
password='admin',
|
|
201
|
+
session=requests.Session())
|
|
189
202
|
|
|
190
203
|
data = sd.get_my_customer_requests()
|
|
191
204
|
print(data)
|
|
@@ -195,11 +208,14 @@ Using Insight (CMDB Tool for Jira):
|
|
|
195
208
|
.. code-block:: python
|
|
196
209
|
|
|
197
210
|
from atlassian import Insight
|
|
211
|
+
import requests
|
|
198
212
|
|
|
213
|
+
session = requests.Session()
|
|
199
214
|
insight = Insight(
|
|
200
215
|
url='http://localhost:7990',
|
|
201
216
|
username='admin',
|
|
202
|
-
password='admin'
|
|
217
|
+
password='admin',
|
|
218
|
+
session=session)
|
|
203
219
|
|
|
204
220
|
data = insight.get_object(88)
|
|
205
221
|
print(data)
|
|
@@ -210,11 +226,14 @@ Using Xray (Test Management tool for Jira):
|
|
|
210
226
|
.. code-block:: python
|
|
211
227
|
|
|
212
228
|
from atlassian import Xray
|
|
229
|
+
import requests
|
|
213
230
|
|
|
231
|
+
session = requests.Session()
|
|
214
232
|
xr = Xray(
|
|
215
233
|
url='http://localhost:7990',
|
|
216
234
|
username='admin',
|
|
217
|
-
password='admin'
|
|
235
|
+
password='admin',
|
|
236
|
+
session=session)
|
|
218
237
|
|
|
219
238
|
data = xr.get_tests('TEST-001')
|
|
220
239
|
print(data)
|
|
@@ -224,10 +243,13 @@ Using Bamboo:
|
|
|
224
243
|
.. code-block:: python
|
|
225
244
|
|
|
226
245
|
from atlassian import Bamboo
|
|
246
|
+
import requests
|
|
227
247
|
|
|
248
|
+
session = requests.Session()
|
|
228
249
|
bamboo = Bamboo(
|
|
229
250
|
url='http://localhost:6990/bamboo/',
|
|
230
|
-
token="<TOKEN>"
|
|
251
|
+
token="<TOKEN>",
|
|
252
|
+
session=session)
|
|
231
253
|
|
|
232
254
|
data = bamboo.get_elastic_configurations()
|
|
233
255
|
print(data)
|
|
@@ -50,11 +50,15 @@ Here's a short example of how to create a Confluence page:
|
|
|
50
50
|
.. code-block:: python
|
|
51
51
|
|
|
52
52
|
from atlassian import Confluence
|
|
53
|
-
|
|
53
|
+
import requests
|
|
54
|
+
# If you want to use a session, you can create it like this:
|
|
55
|
+
session = requests.Session()
|
|
56
|
+
# and pass it to the Confluence constructor
|
|
54
57
|
confluence = Confluence(
|
|
55
58
|
url='http://localhost:8090',
|
|
56
59
|
username='admin',
|
|
57
|
-
password='admin'
|
|
60
|
+
password='admin',
|
|
61
|
+
session=session,)
|
|
58
62
|
|
|
59
63
|
status = confluence.create_page(
|
|
60
64
|
space='DEMO',
|
|
@@ -69,11 +73,14 @@ And here's another example of how to get issues from Jira using JQL Query:
|
|
|
69
73
|
.. code-block:: python
|
|
70
74
|
|
|
71
75
|
from atlassian import Jira
|
|
76
|
+
import requests
|
|
72
77
|
|
|
78
|
+
session = requests.Session()
|
|
73
79
|
jira = Jira(
|
|
74
80
|
url='http://localhost:8080',
|
|
75
81
|
username='admin',
|
|
76
|
-
password='admin'
|
|
82
|
+
password='admin',
|
|
83
|
+
session=session) # Optional: use a session for persistent connections
|
|
77
84
|
JQL = 'project = DEMO AND status IN ("To Do", "In Progress") ORDER BY issuekey'
|
|
78
85
|
data = jira.jql(JQL)
|
|
79
86
|
print(data)
|
|
@@ -83,12 +90,14 @@ The traditional jql method is deprecated for Jira Cloud users, as Atlassian has
|
|
|
83
90
|
.. code-block:: python
|
|
84
91
|
|
|
85
92
|
from atlassian import Jira
|
|
86
|
-
|
|
93
|
+
import requests
|
|
94
|
+
session = requests.Session()
|
|
87
95
|
jira = Jira(
|
|
88
96
|
url='https://your-jira-instance.atlassian.net',
|
|
89
97
|
username='your-email@example.com',
|
|
90
98
|
password='your-api-token',
|
|
91
|
-
cloud=True # Ensure this is set to True for Jira Cloud
|
|
99
|
+
cloud=True, # Ensure this is set to True for Jira Cloud
|
|
100
|
+
session=session # Optional: use a session for persistent connections
|
|
92
101
|
)
|
|
93
102
|
JQL = 'project = DEMO AND status IN ("To Do", "In Progress") ORDER BY issuekey'
|
|
94
103
|
# Fetch issues using the new enhanced_jql method
|
|
@@ -100,11 +109,14 @@ Also, you can use the Bitbucket module e.g. for getting project list
|
|
|
100
109
|
.. code-block:: python
|
|
101
110
|
|
|
102
111
|
from atlassian import Bitbucket
|
|
112
|
+
import requests
|
|
103
113
|
|
|
114
|
+
session= requests.Session()
|
|
104
115
|
bitbucket = Bitbucket(
|
|
105
116
|
url='http://localhost:7990',
|
|
106
117
|
username='admin',
|
|
107
|
-
password='admin'
|
|
118
|
+
password='admin',
|
|
119
|
+
session=session)
|
|
108
120
|
|
|
109
121
|
data = bitbucket.project_list()
|
|
110
122
|
print(data)
|
|
@@ -115,11 +127,12 @@ Example to get your requests:
|
|
|
115
127
|
.. code-block:: python
|
|
116
128
|
|
|
117
129
|
from atlassian import ServiceDesk
|
|
118
|
-
|
|
130
|
+
import requests
|
|
119
131
|
sd = ServiceDesk(
|
|
120
132
|
url='http://localhost:7990',
|
|
121
133
|
username='admin',
|
|
122
|
-
password='admin'
|
|
134
|
+
password='admin',
|
|
135
|
+
session=requests.Session())
|
|
123
136
|
|
|
124
137
|
data = sd.get_my_customer_requests()
|
|
125
138
|
print(data)
|
|
@@ -129,11 +142,14 @@ Using Insight (CMDB Tool for Jira):
|
|
|
129
142
|
.. code-block:: python
|
|
130
143
|
|
|
131
144
|
from atlassian import Insight
|
|
145
|
+
import requests
|
|
132
146
|
|
|
147
|
+
session = requests.Session()
|
|
133
148
|
insight = Insight(
|
|
134
149
|
url='http://localhost:7990',
|
|
135
150
|
username='admin',
|
|
136
|
-
password='admin'
|
|
151
|
+
password='admin',
|
|
152
|
+
session=session)
|
|
137
153
|
|
|
138
154
|
data = insight.get_object(88)
|
|
139
155
|
print(data)
|
|
@@ -144,11 +160,14 @@ Using Xray (Test Management tool for Jira):
|
|
|
144
160
|
.. code-block:: python
|
|
145
161
|
|
|
146
162
|
from atlassian import Xray
|
|
163
|
+
import requests
|
|
147
164
|
|
|
165
|
+
session = requests.Session()
|
|
148
166
|
xr = Xray(
|
|
149
167
|
url='http://localhost:7990',
|
|
150
168
|
username='admin',
|
|
151
|
-
password='admin'
|
|
169
|
+
password='admin',
|
|
170
|
+
session=session)
|
|
152
171
|
|
|
153
172
|
data = xr.get_tests('TEST-001')
|
|
154
173
|
print(data)
|
|
@@ -158,10 +177,13 @@ Using Bamboo:
|
|
|
158
177
|
.. code-block:: python
|
|
159
178
|
|
|
160
179
|
from atlassian import Bamboo
|
|
180
|
+
import requests
|
|
161
181
|
|
|
182
|
+
session = requests.Session()
|
|
162
183
|
bamboo = Bamboo(
|
|
163
184
|
url='http://localhost:6990/bamboo/',
|
|
164
|
-
token="<TOKEN>"
|
|
185
|
+
token="<TOKEN>",
|
|
186
|
+
session=session)
|
|
165
187
|
|
|
166
188
|
data = bamboo.get_elastic_configurations()
|
|
167
189
|
print(data)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
4.0.7
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
from ..base import BitbucketCloudBase
|
|
2
2
|
from ..common.users import User
|
|
3
|
+
from ..common.users import AppUser
|
|
3
4
|
|
|
4
5
|
|
|
5
6
|
class Comment(BitbucketCloudBase):
|
|
@@ -31,6 +32,9 @@ class Comment(BitbucketCloudBase):
|
|
|
31
32
|
@property
|
|
32
33
|
def user(self):
|
|
33
34
|
"""User object with user information of the comment."""
|
|
35
|
+
if self.get_data("user")["type"] == "app_user":
|
|
36
|
+
# If the participant is an app user, return an AppUser instance
|
|
37
|
+
return AppUser(None, self.get_data("user"), **self._new_session_args)
|
|
34
38
|
return User(None, self.get_data("user"), **self._new_session_args)
|
|
35
39
|
|
|
36
40
|
def update(self, **kwargs):
|
{atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/bitbucket/cloud/common/users.py
RENAMED
|
@@ -87,9 +87,9 @@ class Participant(BitbucketCloudBase):
|
|
|
87
87
|
@property
|
|
88
88
|
def user(self):
|
|
89
89
|
"""User object with user information of the participant."""
|
|
90
|
-
if self.get_data("type"
|
|
90
|
+
if self.get_data("user")["type"] == "app_user":
|
|
91
91
|
# If the participant is an app user, return an AppUser instance
|
|
92
|
-
return AppUser(None, self.get_data("
|
|
92
|
+
return AppUser(None, self.get_data("user"), **self._new_session_args)
|
|
93
93
|
return User(None, self.get_data("user"), **self._new_session_args)
|
|
94
94
|
|
|
95
95
|
@property
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
from ..base import BitbucketCloudBase
|
|
4
4
|
from ..common.builds import Build
|
|
5
5
|
from ..common.comments import Comment
|
|
6
|
-
from ..common.users import Participant, User
|
|
6
|
+
from ..common.users import Participant, User, AppUser
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
class Commits(BitbucketCloudBase):
|
|
@@ -89,6 +89,9 @@ class Commit(BitbucketCloudBase):
|
|
|
89
89
|
@property
|
|
90
90
|
def author(self):
|
|
91
91
|
"""User object of the author."""
|
|
92
|
+
if self.get_data("author")["type"] == "app_user":
|
|
93
|
+
# If the author is an app user, return an AppUser instance
|
|
94
|
+
return AppUser(None, self.get_data("author").get("user"), **self._new_session_args)
|
|
92
95
|
return User(None, self.get_data("author").get("user"))
|
|
93
96
|
|
|
94
97
|
def parents(self):
|
|
@@ -5,7 +5,7 @@ from .diffstat import DiffStat
|
|
|
5
5
|
from ...cloud.repositories.commits import Commit
|
|
6
6
|
from ..common.builds import Build
|
|
7
7
|
from ..common.comments import Comment
|
|
8
|
-
from ..common.users import User, Participant
|
|
8
|
+
from ..common.users import User, Participant, AppUser
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
class PullRequests(BitbucketCloudBase):
|
|
@@ -209,6 +209,9 @@ class PullRequest(BitbucketCloudBase):
|
|
|
209
209
|
@property
|
|
210
210
|
def author(self):
|
|
211
211
|
"""User object of the author"""
|
|
212
|
+
if self.get_data("author")["type"] == "app_user":
|
|
213
|
+
# If the author is an app user, return an AppUser instance
|
|
214
|
+
return AppUser(None, self.get_data("author"), **self._new_session_args)
|
|
212
215
|
return User(None, self.get_data("author"))
|
|
213
216
|
|
|
214
217
|
@property
|
|
@@ -451,11 +454,17 @@ class Task(BitbucketCloudBase):
|
|
|
451
454
|
@property
|
|
452
455
|
def creator(self):
|
|
453
456
|
"""User object with user information of the task creator"""
|
|
457
|
+
if self.get_data("creator")["type"] == "app_user":
|
|
458
|
+
# If the creator is an app user, return an AppUser instance
|
|
459
|
+
return AppUser(None, self.get_data("creator"), **self._new_session_args)
|
|
454
460
|
return User(None, self.get_data("creator"), **self._new_session_args)
|
|
455
461
|
|
|
456
462
|
@property
|
|
457
463
|
def resolved_by(self):
|
|
458
464
|
"""User object with user information of the task resolver"""
|
|
465
|
+
if self.get_data("resolved_by")["type"] == "app_user":
|
|
466
|
+
# If the resolver is an app user, return an AppUser instance
|
|
467
|
+
return AppUser(None, self.get_data("resolved_by"), **self._new_session_args)
|
|
459
468
|
return User(None, self.get_data("resolved_by"), **self._new_session_args)
|
|
460
469
|
|
|
461
470
|
def update(self, raw_message):
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
2
|
|
|
3
3
|
from ..base import BitbucketCloudBase
|
|
4
|
-
from ..common.users import User
|
|
4
|
+
from ..common.users import User, AppUser
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
class Refs(BitbucketCloudBase):
|
|
@@ -120,6 +120,9 @@ class Branch(Ref):
|
|
|
120
120
|
@property
|
|
121
121
|
def author(self):
|
|
122
122
|
"""User object of the author."""
|
|
123
|
+
if self.get_data("author")["type"] == "app_user":
|
|
124
|
+
# If the author is an app user, return an AppUser instance
|
|
125
|
+
return AppUser(None, self.get_data("author"), **self._new_session_args)
|
|
123
126
|
return User(None, self.get_data("author"))
|
|
124
127
|
|
|
125
128
|
|
|
@@ -682,7 +682,7 @@ class Confluence(AtlassianRestAPI):
|
|
|
682
682
|
all_pages.extend(results) # Add the current batch of pages to the list
|
|
683
683
|
|
|
684
684
|
# Break the loop if no more pages are available
|
|
685
|
-
if len(results)
|
|
685
|
+
if len(results) <= limit:
|
|
686
686
|
break
|
|
687
687
|
|
|
688
688
|
# Increment the start index for the next batch
|
|
@@ -748,17 +748,33 @@ class Jira(AtlassianRestAPI):
|
|
|
748
748
|
) -> T_resp_json:
|
|
749
749
|
"""
|
|
750
750
|
Creates a custom field with the given name and type
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
:param
|
|
754
|
-
:param
|
|
751
|
+
This method is primarily for Jira Server/Data Center. For Jira Cloud, the
|
|
752
|
+
`searcher_key` is not applicable.
|
|
753
|
+
:param name: str - The name of the custom field (e.g., "My Custom Field"). Cannot be empty.
|
|
754
|
+
:param type: str, The type of the custom field, which defines its behavior.
|
|
755
|
+
Example: 'com.atlassian.jira.plugin.system.customfieldtypes:textfield'
|
|
756
|
+
:param search_key: str, (For Jira Server/DC) The searcher key to make the field searchable.
|
|
757
|
+
Example: 'com.atlassian.jira.plugin.system.customfieldtypes:textsearcher'
|
|
758
|
+
:param description: str, An optional description for the custom field.
|
|
759
|
+
:return: A dictionary representing the created custom field, or None if the
|
|
760
|
+
API returns no content. Raises HTTPError for API-level errors.
|
|
761
|
+
API References:
|
|
762
|
+
- Jira Server: https://docs.atlassian.com/software/jira/docs/api/REST/9.17.0/#api/2/field-createCustomField
|
|
763
|
+
- Jira Cloud: https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-issue-fields/#api-rest-api-2-field-post
|
|
755
764
|
"""
|
|
756
765
|
url = self.resource_url("field")
|
|
757
|
-
data = {"name": name, "type": type}
|
|
758
|
-
if
|
|
759
|
-
|
|
766
|
+
data = {"name": name.strip(), "type": type.strip()}
|
|
767
|
+
if not data["name"]:
|
|
768
|
+
raise ValueError("The 'name' for the custom field cannot be empty.")
|
|
769
|
+
if not data["type"]:
|
|
770
|
+
raise ValueError("The 'type' for the custom field cannot be empty.")
|
|
771
|
+
# Add optional fields if they are provided
|
|
760
772
|
if description:
|
|
761
|
-
data["description"] = description
|
|
773
|
+
data["description"] = description.strip()
|
|
774
|
+
# The API expects 'searcherKey' (camelCase)
|
|
775
|
+
if search_key:
|
|
776
|
+
data["searcherKey"] = search_key.strip()
|
|
777
|
+
|
|
762
778
|
return self.post(url, data=data)
|
|
763
779
|
|
|
764
780
|
def get_custom_field_option_context(self, field_id: T_id, context_id: T_id) -> T_resp_json:
|
|
@@ -3559,7 +3575,10 @@ class Jira(AtlassianRestAPI):
|
|
|
3559
3575
|
params["expand"] = expand
|
|
3560
3576
|
if validate_query is not None:
|
|
3561
3577
|
params["validateQuery"] = validate_query
|
|
3562
|
-
|
|
3578
|
+
if self.cloud:
|
|
3579
|
+
url = self.resource_url("search/jql")
|
|
3580
|
+
else:
|
|
3581
|
+
url = self.resource_url("search")
|
|
3563
3582
|
return self.get(url, params=params)
|
|
3564
3583
|
|
|
3565
3584
|
def enhanced_jql(
|
|
@@ -3619,6 +3638,39 @@ class Jira(AtlassianRestAPI):
|
|
|
3619
3638
|
url = self.resource_url("search/approximate-count")
|
|
3620
3639
|
return self.post(url, data)
|
|
3621
3640
|
|
|
3641
|
+
def match_jql(self, issue_ids: List[int], jqls: List[str]) -> Optional[dict[Any, Any]]:
|
|
3642
|
+
"""
|
|
3643
|
+
Checks which issues match a list of JQL queries.
|
|
3644
|
+
|
|
3645
|
+
This method corresponds to the /rest/api/3/jql/match endpoint.
|
|
3646
|
+
It helps you verify if a set of issues would be returned by given JQL queries.
|
|
3647
|
+
|
|
3648
|
+
:param issue_ids: A list of issue IDs to be checked against the JQLs.
|
|
3649
|
+
:param jqls: A list of JQL query strings to match.
|
|
3650
|
+
:return: A dictionary containing the matching results from the API.
|
|
3651
|
+
For example:
|
|
3652
|
+
{
|
|
3653
|
+
"errors": [],
|
|
3654
|
+
"results": [
|
|
3655
|
+
{
|
|
3656
|
+
"matchedIssues": [10001],
|
|
3657
|
+
"errors": [],
|
|
3658
|
+
"jql": "project = FOO"
|
|
3659
|
+
},
|
|
3660
|
+
{
|
|
3661
|
+
"matchedIssues": ,
|
|
3662
|
+
"errors": [],
|
|
3663
|
+
"jql": "issuetype = Bug"
|
|
3664
|
+
}
|
|
3665
|
+
]
|
|
3666
|
+
}
|
|
3667
|
+
"""
|
|
3668
|
+
if not self.cloud:
|
|
3669
|
+
raise ValueError("``approximate_issue_count`` method is only available for Jira Cloud platform")
|
|
3670
|
+
payload = {"issueIds": issue_ids, "jqls": jqls}
|
|
3671
|
+
url = self.resource_url("jql/match")
|
|
3672
|
+
return self.post(url, data=payload)
|
|
3673
|
+
|
|
3622
3674
|
def jql_get_list_of_tickets(
|
|
3623
3675
|
self,
|
|
3624
3676
|
jql: str,
|
|
@@ -3665,7 +3717,10 @@ class Jira(AtlassianRestAPI):
|
|
|
3665
3717
|
params["expand"] = expand
|
|
3666
3718
|
if validate_query is not None:
|
|
3667
3719
|
params["validateQuery"] = validate_query
|
|
3668
|
-
|
|
3720
|
+
if self.cloud:
|
|
3721
|
+
url = self.resource_url("search/jql")
|
|
3722
|
+
else:
|
|
3723
|
+
url = self.resource_url("search")
|
|
3669
3724
|
|
|
3670
3725
|
results: List[object] = []
|
|
3671
3726
|
while True:
|
|
@@ -83,7 +83,7 @@ class AtlassianRestAPI(object):
|
|
|
83
83
|
api_root: str = "rest/api",
|
|
84
84
|
api_version: Union[str, int] = "latest",
|
|
85
85
|
verify_ssl: bool = True,
|
|
86
|
-
session: Optional[requests.Session] =
|
|
86
|
+
session: Optional[requests.Session] = None,
|
|
87
87
|
oauth: Optional[dict] = None,
|
|
88
88
|
oauth2: Optional[dict] = None,
|
|
89
89
|
cookies: Optional[CookieJar] = None,
|
{atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7/atlassian_python_api.egg-info}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: atlassian-python-api
|
|
3
|
-
Version: 4.0.
|
|
3
|
+
Version: 4.0.7
|
|
4
4
|
Summary: Python Atlassian REST API Wrapper
|
|
5
5
|
Home-page: https://github.com/atlassian-api/atlassian-python-api
|
|
6
6
|
Download-URL: https://github.com/atlassian-api/atlassian-python-api
|
|
@@ -116,11 +116,15 @@ Here's a short example of how to create a Confluence page:
|
|
|
116
116
|
.. code-block:: python
|
|
117
117
|
|
|
118
118
|
from atlassian import Confluence
|
|
119
|
-
|
|
119
|
+
import requests
|
|
120
|
+
# If you want to use a session, you can create it like this:
|
|
121
|
+
session = requests.Session()
|
|
122
|
+
# and pass it to the Confluence constructor
|
|
120
123
|
confluence = Confluence(
|
|
121
124
|
url='http://localhost:8090',
|
|
122
125
|
username='admin',
|
|
123
|
-
password='admin'
|
|
126
|
+
password='admin',
|
|
127
|
+
session=session,)
|
|
124
128
|
|
|
125
129
|
status = confluence.create_page(
|
|
126
130
|
space='DEMO',
|
|
@@ -135,11 +139,14 @@ And here's another example of how to get issues from Jira using JQL Query:
|
|
|
135
139
|
.. code-block:: python
|
|
136
140
|
|
|
137
141
|
from atlassian import Jira
|
|
142
|
+
import requests
|
|
138
143
|
|
|
144
|
+
session = requests.Session()
|
|
139
145
|
jira = Jira(
|
|
140
146
|
url='http://localhost:8080',
|
|
141
147
|
username='admin',
|
|
142
|
-
password='admin'
|
|
148
|
+
password='admin',
|
|
149
|
+
session=session) # Optional: use a session for persistent connections
|
|
143
150
|
JQL = 'project = DEMO AND status IN ("To Do", "In Progress") ORDER BY issuekey'
|
|
144
151
|
data = jira.jql(JQL)
|
|
145
152
|
print(data)
|
|
@@ -149,12 +156,14 @@ The traditional jql method is deprecated for Jira Cloud users, as Atlassian has
|
|
|
149
156
|
.. code-block:: python
|
|
150
157
|
|
|
151
158
|
from atlassian import Jira
|
|
152
|
-
|
|
159
|
+
import requests
|
|
160
|
+
session = requests.Session()
|
|
153
161
|
jira = Jira(
|
|
154
162
|
url='https://your-jira-instance.atlassian.net',
|
|
155
163
|
username='your-email@example.com',
|
|
156
164
|
password='your-api-token',
|
|
157
|
-
cloud=True # Ensure this is set to True for Jira Cloud
|
|
165
|
+
cloud=True, # Ensure this is set to True for Jira Cloud
|
|
166
|
+
session=session # Optional: use a session for persistent connections
|
|
158
167
|
)
|
|
159
168
|
JQL = 'project = DEMO AND status IN ("To Do", "In Progress") ORDER BY issuekey'
|
|
160
169
|
# Fetch issues using the new enhanced_jql method
|
|
@@ -166,11 +175,14 @@ Also, you can use the Bitbucket module e.g. for getting project list
|
|
|
166
175
|
.. code-block:: python
|
|
167
176
|
|
|
168
177
|
from atlassian import Bitbucket
|
|
178
|
+
import requests
|
|
169
179
|
|
|
180
|
+
session= requests.Session()
|
|
170
181
|
bitbucket = Bitbucket(
|
|
171
182
|
url='http://localhost:7990',
|
|
172
183
|
username='admin',
|
|
173
|
-
password='admin'
|
|
184
|
+
password='admin',
|
|
185
|
+
session=session)
|
|
174
186
|
|
|
175
187
|
data = bitbucket.project_list()
|
|
176
188
|
print(data)
|
|
@@ -181,11 +193,12 @@ Example to get your requests:
|
|
|
181
193
|
.. code-block:: python
|
|
182
194
|
|
|
183
195
|
from atlassian import ServiceDesk
|
|
184
|
-
|
|
196
|
+
import requests
|
|
185
197
|
sd = ServiceDesk(
|
|
186
198
|
url='http://localhost:7990',
|
|
187
199
|
username='admin',
|
|
188
|
-
password='admin'
|
|
200
|
+
password='admin',
|
|
201
|
+
session=requests.Session())
|
|
189
202
|
|
|
190
203
|
data = sd.get_my_customer_requests()
|
|
191
204
|
print(data)
|
|
@@ -195,11 +208,14 @@ Using Insight (CMDB Tool for Jira):
|
|
|
195
208
|
.. code-block:: python
|
|
196
209
|
|
|
197
210
|
from atlassian import Insight
|
|
211
|
+
import requests
|
|
198
212
|
|
|
213
|
+
session = requests.Session()
|
|
199
214
|
insight = Insight(
|
|
200
215
|
url='http://localhost:7990',
|
|
201
216
|
username='admin',
|
|
202
|
-
password='admin'
|
|
217
|
+
password='admin',
|
|
218
|
+
session=session)
|
|
203
219
|
|
|
204
220
|
data = insight.get_object(88)
|
|
205
221
|
print(data)
|
|
@@ -210,11 +226,14 @@ Using Xray (Test Management tool for Jira):
|
|
|
210
226
|
.. code-block:: python
|
|
211
227
|
|
|
212
228
|
from atlassian import Xray
|
|
229
|
+
import requests
|
|
213
230
|
|
|
231
|
+
session = requests.Session()
|
|
214
232
|
xr = Xray(
|
|
215
233
|
url='http://localhost:7990',
|
|
216
234
|
username='admin',
|
|
217
|
-
password='admin'
|
|
235
|
+
password='admin',
|
|
236
|
+
session=session)
|
|
218
237
|
|
|
219
238
|
data = xr.get_tests('TEST-001')
|
|
220
239
|
print(data)
|
|
@@ -224,10 +243,13 @@ Using Bamboo:
|
|
|
224
243
|
.. code-block:: python
|
|
225
244
|
|
|
226
245
|
from atlassian import Bamboo
|
|
246
|
+
import requests
|
|
227
247
|
|
|
248
|
+
session = requests.Session()
|
|
228
249
|
bamboo = Bamboo(
|
|
229
250
|
url='http://localhost:6990/bamboo/',
|
|
230
|
-
token="<TOKEN>"
|
|
251
|
+
token="<TOKEN>",
|
|
252
|
+
session=session)
|
|
231
253
|
|
|
232
254
|
data = bamboo.get_elastic_configurations()
|
|
233
255
|
print(data)
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
4.0.5
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/bitbucket/cloud/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{atlassian_python_api-4.0.5 → atlassian_python_api-4.0.7}/atlassian/bitbucket/cloud/common/builds.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|