atlassian-python-api 3.41.12__tar.gz → 3.41.13__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-3.41.12/atlassian_python_api.egg-info → atlassian_python_api-3.41.13}/PKG-INFO +1 -1
- atlassian_python_api-3.41.13/atlassian/VERSION +1 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/bamboo.py +28 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/confluence.py +45 -21
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/jira.py +58 -3
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13/atlassian_python_api.egg-info}/PKG-INFO +1 -1
- atlassian_python_api-3.41.12/atlassian/VERSION +0 -1
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/LICENSE +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/MANIFEST.in +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/README.rst +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/__init__.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/bitbucket/__init__.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/bitbucket/base.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/bitbucket/cloud/__init__.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/bitbucket/cloud/base.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/bitbucket/cloud/common/__init__.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/bitbucket/cloud/common/builds.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/bitbucket/cloud/common/comments.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/bitbucket/cloud/common/users.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/bitbucket/cloud/repositories/__init__.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/bitbucket/cloud/repositories/branchRestrictions.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/bitbucket/cloud/repositories/commits.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/bitbucket/cloud/repositories/defaultReviewers.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/bitbucket/cloud/repositories/deploymentEnvironments.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/bitbucket/cloud/repositories/diffstat.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/bitbucket/cloud/repositories/groupPermissions.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/bitbucket/cloud/repositories/hooks.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/bitbucket/cloud/repositories/issues.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/bitbucket/cloud/repositories/pipelines.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/bitbucket/cloud/repositories/pullRequests.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/bitbucket/cloud/repositories/refs.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/bitbucket/cloud/repositories/repositoryVariables.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/bitbucket/cloud/workspaces/__init__.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/bitbucket/cloud/workspaces/members.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/bitbucket/cloud/workspaces/permissions.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/bitbucket/cloud/workspaces/projects.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/bitbucket/server/__init__.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/bitbucket/server/base.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/bitbucket/server/common/__init__.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/bitbucket/server/common/permissions.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/bitbucket/server/globalPermissions.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/bitbucket/server/projects/__init__.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/bitbucket/server/projects/repos/__init__.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/cloud_admin.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/crowd.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/errors.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/insight.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/marketplace.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/portfolio.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/request_utils.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/rest_client.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/service_desk.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/statuspage.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/utils.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/xray.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian_python_api.egg-info/SOURCES.txt +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian_python_api.egg-info/dependency_links.txt +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian_python_api.egg-info/not-zip-safe +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian_python_api.egg-info/requires.txt +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian_python_api.egg-info/top_level.txt +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/pyproject.toml +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/requirements.txt +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/setup.cfg +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/setup.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/__init__.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/__pycache__/__init__.cpython-311.pyc +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/__pycache__/mockup.cpython-311.pyc +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/__pycache__/test_base.cpython-311-pytest-7.2.0.pyc +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/__pycache__/test_base.cpython-311-pytest-7.2.1.pyc +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/__pycache__/test_base.cpython-311-pytest-7.3.1.pyc +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/__pycache__/test_base.cpython-311-pytest-7.4.0.pyc +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/__pycache__/test_base.cpython-311-pytest-7.4.2.pyc +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/__pycache__/test_bitbucket_cloud_oo.cpython-311-pytest-7.2.0.pyc +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/__pycache__/test_bitbucket_cloud_oo.cpython-311-pytest-7.2.1.pyc +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/__pycache__/test_bitbucket_cloud_oo.cpython-311-pytest-7.3.1.pyc +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/__pycache__/test_bitbucket_cloud_oo.cpython-311-pytest-7.4.0.pyc +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/__pycache__/test_bitbucket_cloud_oo.cpython-311-pytest-7.4.2.pyc +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/__pycache__/test_bitbucket_server.cpython-311-pytest-7.2.0.pyc +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/__pycache__/test_bitbucket_server.cpython-311-pytest-7.2.1.pyc +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/__pycache__/test_bitbucket_server.cpython-311-pytest-7.3.1.pyc +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/__pycache__/test_bitbucket_server.cpython-311-pytest-7.4.0.pyc +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/__pycache__/test_bitbucket_server.cpython-311-pytest-7.4.2.pyc +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/__pycache__/test_bitbucket_server_oo.cpython-311-pytest-7.2.0.pyc +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/__pycache__/test_bitbucket_server_oo.cpython-311-pytest-7.2.1.pyc +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/__pycache__/test_bitbucket_server_oo.cpython-311-pytest-7.3.1.pyc +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/__pycache__/test_bitbucket_server_oo.cpython-311-pytest-7.4.0.pyc +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/__pycache__/test_bitbucket_server_oo.cpython-311-pytest-7.4.2.pyc +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/__pycache__/test_confluence_advanced_mode.cpython-311-pytest-7.2.0.pyc +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/__pycache__/test_confluence_advanced_mode.cpython-311-pytest-7.2.1.pyc +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/__pycache__/test_confluence_advanced_mode.cpython-311-pytest-7.3.1.pyc +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/__pycache__/test_confluence_advanced_mode.cpython-311-pytest-7.4.0.pyc +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/__pycache__/test_confluence_advanced_mode.cpython-311-pytest-7.4.2.pyc +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/__pycache__/test_confluence_attach.cpython-311-pytest-7.2.0.pyc +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/__pycache__/test_confluence_attach.cpython-311-pytest-7.2.1.pyc +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/__pycache__/test_confluence_attach.cpython-311-pytest-7.3.1.pyc +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/__pycache__/test_confluence_attach.cpython-311-pytest-7.4.0.pyc +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/__pycache__/test_confluence_attach.cpython-311-pytest-7.4.2.pyc +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/__pycache__/test_jira.cpython-311-pytest-7.2.0.pyc +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/__pycache__/test_jira.cpython-311-pytest-7.2.1.pyc +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/__pycache__/test_jira.cpython-311-pytest-7.3.1.pyc +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/__pycache__/test_jira.cpython-311-pytest-7.4.0.pyc +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/__pycache__/test_jira.cpython-311-pytest-7.4.2.pyc +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/__pycache__/test_servicedesk.cpython-311-pytest-7.2.0.pyc +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/__pycache__/test_servicedesk.cpython-311-pytest-7.2.1.pyc +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/__pycache__/test_servicedesk.cpython-311-pytest-7.3.1.pyc +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/__pycache__/test_servicedesk.cpython-311-pytest-7.4.0.pyc +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/__pycache__/test_servicedesk.cpython-311-pytest-7.4.2.pyc +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/mockup.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/TestRepositoryCreated/POST +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/branch-restrictions/17203842/DELETE +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/branch-restrictions/17203842/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/branch-restrictions/17203842/PUT +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/branch-restrictions/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/default-reviewers/DefaultReviewer1Uuid/DELETE +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/default-reviewers/DefaultReviewer1Uuid/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/default-reviewers/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/issues/3/DELETE +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/issues/3/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/issues/3/PUT +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/issues/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/issues/POST +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pipelines/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pipelines/POST +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pipelines/{PipelineUuid}/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pipelines/{PipelineUuid}/steps/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pipelines/{PipelineUuid}/steps/{PipelineStep1Uuid}/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pipelines/{PipelineUuid}/steps/{PipelineStep2Uuid}/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pipelines/{PipelineUuid}/steps/{PipelineStep2Uuid}/log/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pipelines/{PipelineUuid}/stopPipeline/POST +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/approve/DELETE +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/approve/POST +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/comments/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/comments/POST +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/commits/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/decline/POST +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/merge/POST +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/request-changes/DELETE +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/request-changes/POST +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/statuses/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/tasks/123456/DELETE +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/tasks/123456/PUT +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/tasks/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/tasks/POST +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/25/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/POST +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/cloud/2.0/workspaces/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/cloud/2.0/workspaces/TestWorkspace1/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/cloud/2.0/workspaces/TestWorkspace2/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/cloud/2.0/workspaces/TestWorkspace3/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/server/rest/api/1.0/admin/permissions/groups/DELETE +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/server/rest/api/1.0/admin/permissions/groups/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/server/rest/api/1.0/admin/permissions/groups/none/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/server/rest/api/1.0/admin/permissions/users/DELETE +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/server/rest/api/1.0/admin/permissions/users/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/server/rest/api/1.0/admin/permissions/users/none/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/server/rest/api/1.0/projects/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/PUT +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/permissions/groups/DELETE +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/permissions/groups/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/permissions/groups/none/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/permissions/users/DELETE +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/permissions/users/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/permissions/users/none/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/PUT +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/archive/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/contributing/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/default-branch/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/default-branch/PUT +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/forks/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/license/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/permissions/groups/DELETE +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/permissions/groups/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/permissions/groups/none/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/permissions/users/DELETE +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/permissions/users/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/permissions/users/none/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/readme/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/related/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/webhooks/3/DELETE +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/webhooks/3/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/webhooks/3/PUT +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/webhooks/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/webhooks/POST +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/jira/rest/agile/1.0/epic/BAR-22/issue/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/jira/rest/agile/1.0/epic/none/issue/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/jira/rest/api/2/comment/list/POST +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/jira/rest/api/2/issue/FOO-123/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/jira/rest/api/2/issue/FOO-123/comment/10000/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/jira/rest/api/2/issue/FOO-123/comment/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/jira/rest/api/2/issue/FOO-123/properties/Bar1/DELETE +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/jira/rest/api/2/issue/FOO-123/properties/Bar1/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/jira/rest/api/2/issue/FOO-123/properties/Bar1/PUT +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/jira/rest/api/2/issue/FOO-123/properties/Bar2New/PUT +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/jira/rest/api/2/issue/FOO-123/properties/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/jira/rest/api/2/issue/POST +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/jira/rest/api/2/issue/REGEX-123/file.txt +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/servicedesk/rest/servicedeskapi/customer/POST +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/servicedesk/rest/servicedeskapi/organization/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/servicedesk/rest/servicedeskapi/organization/POST +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/servicedesk/rest/servicedeskapi/organization/{organizationId}/DELETE +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/servicedesk/rest/servicedeskapi/organization/{organizationId}/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/servicedesk/rest/servicedeskapi/organization/{organizationId}/property/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/servicedesk/rest/servicedeskapi/organization/{organizationId}/user/DELETE +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/servicedesk/rest/servicedeskapi/organization/{organizationId}/user/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/servicedesk/rest/servicedeskapi/organization/{organizationId}/user/POST +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/servicedesk/rest/servicedeskapi/servicedesk/{serviceDeskId}/customer/DELETE +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/servicedesk/rest/servicedeskapi/servicedesk/{serviceDeskId}/customer/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/servicedesk/rest/servicedeskapi/servicedesk/{serviceDeskId}/customer/POST +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/servicedesk/rest/servicedeskapi/servicedesk/{serviceDeskId}/organization/DELETE +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/servicedesk/rest/servicedeskapi/servicedesk/{serviceDeskId}/organization/GET +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/responses/servicedesk/rest/servicedeskapi/servicedesk/{serviceDeskId}/organization/POST +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/test_base.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/test_bitbucket_cloud_oo.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/test_bitbucket_server.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/test_bitbucket_server_oo.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/test_confluence_advanced_mode.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/test_confluence_attach.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/test_jira.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tests/test_servicedesk.py +0 -0
- {atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/tox.ini +0 -0
{atlassian_python_api-3.41.12/atlassian_python_api.egg-info → atlassian_python_api-3.41.13}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: atlassian-python-api
|
|
3
|
-
Version: 3.41.
|
|
3
|
+
Version: 3.41.13
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.41.13
|
|
@@ -1286,6 +1286,34 @@ class Bamboo(AtlassianRestAPI):
|
|
|
1286
1286
|
url = "rest/plugins/1.0/?token={upm_token}".format(upm_token=upm_token)
|
|
1287
1287
|
return self.post(url, files=files, headers=self.no_check_headers)
|
|
1288
1288
|
|
|
1289
|
+
def disable_plugin(self, plugin_key):
|
|
1290
|
+
"""
|
|
1291
|
+
Disable a plugin
|
|
1292
|
+
:param plugin_key:
|
|
1293
|
+
:return:
|
|
1294
|
+
"""
|
|
1295
|
+
app_headers = {
|
|
1296
|
+
"X-Atlassian-Token": "nocheck",
|
|
1297
|
+
"Content-Type": "application/vnd.atl.plugins+json",
|
|
1298
|
+
}
|
|
1299
|
+
url = "rest/plugins/1.0/{plugin_key}-key".format(plugin_key=plugin_key)
|
|
1300
|
+
data = {"status": "disabled"}
|
|
1301
|
+
return self.put(url, data=data, headers=app_headers)
|
|
1302
|
+
|
|
1303
|
+
def enable_plugin(self, plugin_key):
|
|
1304
|
+
"""
|
|
1305
|
+
Enable a plugin
|
|
1306
|
+
:param plugin_key:
|
|
1307
|
+
:return:
|
|
1308
|
+
"""
|
|
1309
|
+
app_headers = {
|
|
1310
|
+
"X-Atlassian-Token": "nocheck",
|
|
1311
|
+
"Content-Type": "application/vnd.atl.plugins+json",
|
|
1312
|
+
}
|
|
1313
|
+
url = "rest/plugins/1.0/{plugin_key}-key".format(plugin_key=plugin_key)
|
|
1314
|
+
data = {"status": "enabled"}
|
|
1315
|
+
return self.put(url, data=data, headers=app_headers)
|
|
1316
|
+
|
|
1289
1317
|
def delete_plugin(self, plugin_key):
|
|
1290
1318
|
"""
|
|
1291
1319
|
Delete plugin
|
|
@@ -506,27 +506,20 @@ class Confluence(AtlassianRestAPI):
|
|
|
506
506
|
|
|
507
507
|
return response
|
|
508
508
|
|
|
509
|
-
def get_draft_page_by_id(self, page_id, status="draft"):
|
|
509
|
+
def get_draft_page_by_id(self, page_id, status="draft", expand=None):
|
|
510
510
|
"""
|
|
511
|
-
|
|
512
|
-
:param page_id:
|
|
513
|
-
:param status:
|
|
511
|
+
Gets content by id with status = draft
|
|
512
|
+
:param page_id: Content ID
|
|
513
|
+
:param status: (str) list of content statuses to filter results on. Default value: [draft]
|
|
514
|
+
:param expand: OPTIONAL: Default value: history,space,version
|
|
515
|
+
We can also specify some extensions such as extensions.inlineProperties
|
|
516
|
+
(for getting inline comment-specific properties) or extensions. Resolution
|
|
517
|
+
for the resolution status of each comment in the results
|
|
514
518
|
:return:
|
|
515
519
|
"""
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
response = self.get(url)
|
|
520
|
-
except HTTPError as e:
|
|
521
|
-
if e.response.status_code == 404:
|
|
522
|
-
raise ApiPermissionError(
|
|
523
|
-
"The calling user does not have permission to view the content",
|
|
524
|
-
reason=e,
|
|
525
|
-
)
|
|
526
|
-
|
|
527
|
-
raise
|
|
528
|
-
|
|
529
|
-
return response
|
|
520
|
+
# Version not passed since draft versions don't match the page and
|
|
521
|
+
# operate differently between different collaborative modes
|
|
522
|
+
return self.get_page_by_id(page_id=page_id, expand=expand, status=status)
|
|
530
523
|
|
|
531
524
|
def get_all_pages_by_label(self, label, start=0, limit=50):
|
|
532
525
|
"""
|
|
@@ -1322,17 +1315,20 @@ class Confluence(AtlassianRestAPI):
|
|
|
1322
1315
|
comment=comment,
|
|
1323
1316
|
)
|
|
1324
1317
|
|
|
1325
|
-
def download_attachments_from_page(self, page_id, path=None):
|
|
1318
|
+
def download_attachments_from_page(self, page_id, path=None, start=0, limit=50):
|
|
1326
1319
|
"""
|
|
1327
1320
|
Downloads all attachments from a page
|
|
1328
1321
|
:param page_id:
|
|
1329
|
-
:param path: path to directory where attachments will be saved. If None, current working directory will be used.
|
|
1322
|
+
:param path: OPTIONAL: path to directory where attachments will be saved. If None, current working directory will be used.
|
|
1323
|
+
:param start: OPTIONAL: The start point of the collection to return. Default: None (0).
|
|
1324
|
+
:param limit: OPTIONAL: The limit of the number of attachments to return, this may be restricted by
|
|
1325
|
+
fixed system limits. Default: 50
|
|
1330
1326
|
:return info message: number of saved attachments + path to directory where attachments were saved:
|
|
1331
1327
|
"""
|
|
1332
1328
|
if path is None:
|
|
1333
1329
|
path = os.getcwd()
|
|
1334
1330
|
try:
|
|
1335
|
-
attachments = self.get_attachments_from_content(page_id=page_id)["results"]
|
|
1331
|
+
attachments = self.get_attachments_from_content(page_id=page_id, start=start, limit=limit)["results"]
|
|
1336
1332
|
if not attachments:
|
|
1337
1333
|
return "No attachments found"
|
|
1338
1334
|
for attachment in attachments:
|
|
@@ -2727,6 +2723,34 @@ class Confluence(AtlassianRestAPI):
|
|
|
2727
2723
|
url = "rest/plugins/1.0/?token={upm_token}".format(upm_token=upm_token)
|
|
2728
2724
|
return self.post(url, files=files, headers=self.no_check_headers)
|
|
2729
2725
|
|
|
2726
|
+
def disable_plugin(self, plugin_key):
|
|
2727
|
+
"""
|
|
2728
|
+
Disable a plugin
|
|
2729
|
+
:param plugin_key:
|
|
2730
|
+
:return:
|
|
2731
|
+
"""
|
|
2732
|
+
app_headers = {
|
|
2733
|
+
"X-Atlassian-Token": "nocheck",
|
|
2734
|
+
"Content-Type": "application/vnd.atl.plugins+json",
|
|
2735
|
+
}
|
|
2736
|
+
url = "rest/plugins/1.0/{plugin_key}-key".format(plugin_key=plugin_key)
|
|
2737
|
+
data = {"status": "disabled"}
|
|
2738
|
+
return self.put(url, data=data, headers=app_headers)
|
|
2739
|
+
|
|
2740
|
+
def enable_plugin(self, plugin_key):
|
|
2741
|
+
"""
|
|
2742
|
+
Enable a plugin
|
|
2743
|
+
:param plugin_key:
|
|
2744
|
+
:return:
|
|
2745
|
+
"""
|
|
2746
|
+
app_headers = {
|
|
2747
|
+
"X-Atlassian-Token": "nocheck",
|
|
2748
|
+
"Content-Type": "application/vnd.atl.plugins+json",
|
|
2749
|
+
}
|
|
2750
|
+
url = "rest/plugins/1.0/{plugin_key}-key".format(plugin_key=plugin_key)
|
|
2751
|
+
data = {"status": "enabled"}
|
|
2752
|
+
return self.put(url, data=data, headers=app_headers)
|
|
2753
|
+
|
|
2730
2754
|
def delete_plugin(self, plugin_key):
|
|
2731
2755
|
"""
|
|
2732
2756
|
Delete plugin
|
|
@@ -1221,13 +1221,13 @@ class Jira(AtlassianRestAPI):
|
|
|
1221
1221
|
:return:
|
|
1222
1222
|
"""
|
|
1223
1223
|
base_url = self.resource_url("issue")
|
|
1224
|
-
url = "{base_url}/{issue_key}
|
|
1224
|
+
url = "{base_url}/{issue_key}/changelog".format(base_url=base_url, issue_key=issue_key)
|
|
1225
1225
|
params = {}
|
|
1226
1226
|
if start:
|
|
1227
1227
|
params["startAt"] = start
|
|
1228
1228
|
if limit:
|
|
1229
1229
|
params["maxResults"] = limit
|
|
1230
|
-
return
|
|
1230
|
+
return self.get(url, params=params)
|
|
1231
1231
|
|
|
1232
1232
|
def issue_add_json_worklog(self, key, worklog):
|
|
1233
1233
|
"""
|
|
@@ -1320,7 +1320,7 @@ class Jira(AtlassianRestAPI):
|
|
|
1320
1320
|
|
|
1321
1321
|
def bulk_update_issue_field(self, key_list, fields="*all"):
|
|
1322
1322
|
"""
|
|
1323
|
-
:param key_list
|
|
1323
|
+
:param key_list: list of issues with common filed to be updated
|
|
1324
1324
|
:param fields: common fields to be updated
|
|
1325
1325
|
return Boolean True/False
|
|
1326
1326
|
"""
|
|
@@ -1336,6 +1336,33 @@ class Jira(AtlassianRestAPI):
|
|
|
1336
1336
|
return False
|
|
1337
1337
|
return True
|
|
1338
1338
|
|
|
1339
|
+
def issue_field_value_append(self, issue_id_or_key, field, value, notify_users=True):
|
|
1340
|
+
"""
|
|
1341
|
+
Add value to a multiple value field
|
|
1342
|
+
|
|
1343
|
+
:param issue_id_or_key: str Issue id or issue key
|
|
1344
|
+
:param field: str Field key ("customfield_10000")
|
|
1345
|
+
:param value: str A value which need to append (use python value types)
|
|
1346
|
+
:param notify_users: bool OPTIONAL if True, use project's default notification scheme to notify users via email.
|
|
1347
|
+
if False, do not send any email notifications. (only works with admin privilege)
|
|
1348
|
+
"""
|
|
1349
|
+
base_url = self.resource_url("issue")
|
|
1350
|
+
params = {"notifyUsers": True if notify_users else False}
|
|
1351
|
+
current_value = self.issue_field_value(key=issue_id_or_key, field=field)
|
|
1352
|
+
|
|
1353
|
+
if current_value:
|
|
1354
|
+
new_value = current_value + [value]
|
|
1355
|
+
else:
|
|
1356
|
+
new_value = [value]
|
|
1357
|
+
|
|
1358
|
+
fields = {"{}".format(field): new_value}
|
|
1359
|
+
|
|
1360
|
+
return self.put(
|
|
1361
|
+
"{base_url}/{key}".format(base_url=base_url, key=issue_id_or_key),
|
|
1362
|
+
data={"fields": fields},
|
|
1363
|
+
params=params,
|
|
1364
|
+
)
|
|
1365
|
+
|
|
1339
1366
|
def get_issue_labels(self, issue_key):
|
|
1340
1367
|
"""
|
|
1341
1368
|
Get issue labels.
|
|
@@ -3639,6 +3666,34 @@ api-group-workflows/#api-rest-api-2-workflow-search-get)
|
|
|
3639
3666
|
data = {"rawLicense": raw_license}
|
|
3640
3667
|
return self.put(url, data=data, headers=app_headers)
|
|
3641
3668
|
|
|
3669
|
+
def disable_plugin(self, plugin_key):
|
|
3670
|
+
"""
|
|
3671
|
+
Disable a plugin
|
|
3672
|
+
:param plugin_key:
|
|
3673
|
+
:return:
|
|
3674
|
+
"""
|
|
3675
|
+
app_headers = {
|
|
3676
|
+
"X-Atlassian-Token": "nocheck",
|
|
3677
|
+
"Content-Type": "application/vnd.atl.plugins+json",
|
|
3678
|
+
}
|
|
3679
|
+
url = "rest/plugins/1.0/{plugin_key}-key".format(plugin_key=plugin_key)
|
|
3680
|
+
data = {"status": "disabled"}
|
|
3681
|
+
return self.put(url, data=data, headers=app_headers)
|
|
3682
|
+
|
|
3683
|
+
def enable_plugin(self, plugin_key):
|
|
3684
|
+
"""
|
|
3685
|
+
Enable a plugin
|
|
3686
|
+
:param plugin_key:
|
|
3687
|
+
:return:
|
|
3688
|
+
"""
|
|
3689
|
+
app_headers = {
|
|
3690
|
+
"X-Atlassian-Token": "nocheck",
|
|
3691
|
+
"Content-Type": "application/vnd.atl.plugins+json",
|
|
3692
|
+
}
|
|
3693
|
+
url = "rest/plugins/1.0/{plugin_key}-key".format(plugin_key=plugin_key)
|
|
3694
|
+
data = {"status": "enabled"}
|
|
3695
|
+
return self.put(url, data=data, headers=app_headers)
|
|
3696
|
+
|
|
3642
3697
|
def get_all_permissionschemes(self, expand=None):
|
|
3643
3698
|
"""
|
|
3644
3699
|
Returns a list of all permission schemes.
|
{atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13/atlassian_python_api.egg-info}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: atlassian-python-api
|
|
3
|
-
Version: 3.41.
|
|
3
|
+
Version: 3.41.13
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
3.41.12
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/bitbucket/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/bitbucket/cloud/__init__.py
RENAMED
|
File without changes
|
{atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/bitbucket/cloud/base.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/bitbucket/server/__init__.py
RENAMED
|
File without changes
|
{atlassian_python_api-3.41.12 → atlassian_python_api-3.41.13}/atlassian/bitbucket/server/base.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|