atlassian-python-api 3.41.14__tar.gz → 3.41.15__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.
Files changed (228) hide show
  1. {atlassian_python_api-3.41.14/atlassian_python_api.egg-info → atlassian_python_api-3.41.15}/PKG-INFO +1 -1
  2. atlassian_python_api-3.41.15/atlassian/VERSION +1 -0
  3. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/bitbucket/__init__.py +32 -2
  4. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/bitbucket/base.py +4 -1
  5. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/confluence.py +3 -4
  6. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/jira.py +2 -2
  7. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/service_desk.py +21 -0
  8. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15/atlassian_python_api.egg-info}/PKG-INFO +1 -1
  9. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/__pycache__/test_jira.cpython-311-pytest-7.4.2.pyc +0 -0
  10. atlassian_python_api-3.41.14/atlassian/VERSION +0 -1
  11. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/LICENSE +0 -0
  12. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/MANIFEST.in +0 -0
  13. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/README.rst +0 -0
  14. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/__init__.py +0 -0
  15. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/bamboo.py +0 -0
  16. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/bitbucket/cloud/__init__.py +0 -0
  17. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/bitbucket/cloud/base.py +0 -0
  18. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/bitbucket/cloud/common/__init__.py +0 -0
  19. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/bitbucket/cloud/common/builds.py +0 -0
  20. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/bitbucket/cloud/common/comments.py +0 -0
  21. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/bitbucket/cloud/common/users.py +0 -0
  22. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/bitbucket/cloud/repositories/__init__.py +0 -0
  23. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/bitbucket/cloud/repositories/branchRestrictions.py +0 -0
  24. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/bitbucket/cloud/repositories/commits.py +0 -0
  25. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/bitbucket/cloud/repositories/defaultReviewers.py +0 -0
  26. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/bitbucket/cloud/repositories/deploymentEnvironments.py +0 -0
  27. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/bitbucket/cloud/repositories/diffstat.py +0 -0
  28. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/bitbucket/cloud/repositories/groupPermissions.py +0 -0
  29. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/bitbucket/cloud/repositories/hooks.py +0 -0
  30. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/bitbucket/cloud/repositories/issues.py +0 -0
  31. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/bitbucket/cloud/repositories/pipelines.py +0 -0
  32. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/bitbucket/cloud/repositories/pullRequests.py +0 -0
  33. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/bitbucket/cloud/repositories/refs.py +0 -0
  34. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/bitbucket/cloud/repositories/repositoryVariables.py +0 -0
  35. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/bitbucket/cloud/workspaces/__init__.py +0 -0
  36. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/bitbucket/cloud/workspaces/members.py +0 -0
  37. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/bitbucket/cloud/workspaces/permissions.py +0 -0
  38. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/bitbucket/cloud/workspaces/projects.py +0 -0
  39. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/bitbucket/server/__init__.py +0 -0
  40. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/bitbucket/server/base.py +0 -0
  41. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/bitbucket/server/common/__init__.py +0 -0
  42. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/bitbucket/server/common/permissions.py +0 -0
  43. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/bitbucket/server/globalPermissions.py +0 -0
  44. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/bitbucket/server/projects/__init__.py +0 -0
  45. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/bitbucket/server/projects/repos/__init__.py +0 -0
  46. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/cloud_admin.py +0 -0
  47. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/crowd.py +0 -0
  48. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/errors.py +0 -0
  49. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/insight.py +0 -0
  50. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/marketplace.py +0 -0
  51. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/portfolio.py +0 -0
  52. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/request_utils.py +0 -0
  53. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/rest_client.py +0 -0
  54. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/statuspage.py +0 -0
  55. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/utils.py +0 -0
  56. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian/xray.py +0 -0
  57. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian_python_api.egg-info/SOURCES.txt +0 -0
  58. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian_python_api.egg-info/dependency_links.txt +0 -0
  59. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian_python_api.egg-info/not-zip-safe +0 -0
  60. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian_python_api.egg-info/requires.txt +0 -0
  61. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/atlassian_python_api.egg-info/top_level.txt +0 -0
  62. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/pyproject.toml +0 -0
  63. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/requirements.txt +0 -0
  64. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/setup.cfg +0 -0
  65. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/setup.py +0 -0
  66. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/__init__.py +0 -0
  67. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/__pycache__/__init__.cpython-311.pyc +0 -0
  68. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/__pycache__/mockup.cpython-311.pyc +0 -0
  69. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/__pycache__/test_base.cpython-311-pytest-7.2.0.pyc +0 -0
  70. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/__pycache__/test_base.cpython-311-pytest-7.2.1.pyc +0 -0
  71. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/__pycache__/test_base.cpython-311-pytest-7.3.1.pyc +0 -0
  72. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/__pycache__/test_base.cpython-311-pytest-7.4.0.pyc +0 -0
  73. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/__pycache__/test_base.cpython-311-pytest-7.4.2.pyc +0 -0
  74. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/__pycache__/test_bitbucket_cloud_oo.cpython-311-pytest-7.2.0.pyc +0 -0
  75. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/__pycache__/test_bitbucket_cloud_oo.cpython-311-pytest-7.2.1.pyc +0 -0
  76. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/__pycache__/test_bitbucket_cloud_oo.cpython-311-pytest-7.3.1.pyc +0 -0
  77. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/__pycache__/test_bitbucket_cloud_oo.cpython-311-pytest-7.4.0.pyc +0 -0
  78. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/__pycache__/test_bitbucket_cloud_oo.cpython-311-pytest-7.4.2.pyc +0 -0
  79. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/__pycache__/test_bitbucket_server.cpython-311-pytest-7.2.0.pyc +0 -0
  80. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/__pycache__/test_bitbucket_server.cpython-311-pytest-7.2.1.pyc +0 -0
  81. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/__pycache__/test_bitbucket_server.cpython-311-pytest-7.3.1.pyc +0 -0
  82. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/__pycache__/test_bitbucket_server.cpython-311-pytest-7.4.0.pyc +0 -0
  83. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/__pycache__/test_bitbucket_server.cpython-311-pytest-7.4.2.pyc +0 -0
  84. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/__pycache__/test_bitbucket_server_oo.cpython-311-pytest-7.2.0.pyc +0 -0
  85. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/__pycache__/test_bitbucket_server_oo.cpython-311-pytest-7.2.1.pyc +0 -0
  86. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/__pycache__/test_bitbucket_server_oo.cpython-311-pytest-7.3.1.pyc +0 -0
  87. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/__pycache__/test_bitbucket_server_oo.cpython-311-pytest-7.4.0.pyc +0 -0
  88. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/__pycache__/test_bitbucket_server_oo.cpython-311-pytest-7.4.2.pyc +0 -0
  89. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/__pycache__/test_confluence_advanced_mode.cpython-311-pytest-7.2.0.pyc +0 -0
  90. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/__pycache__/test_confluence_advanced_mode.cpython-311-pytest-7.2.1.pyc +0 -0
  91. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/__pycache__/test_confluence_advanced_mode.cpython-311-pytest-7.3.1.pyc +0 -0
  92. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/__pycache__/test_confluence_advanced_mode.cpython-311-pytest-7.4.0.pyc +0 -0
  93. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/__pycache__/test_confluence_advanced_mode.cpython-311-pytest-7.4.2.pyc +0 -0
  94. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/__pycache__/test_confluence_attach.cpython-311-pytest-7.2.0.pyc +0 -0
  95. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/__pycache__/test_confluence_attach.cpython-311-pytest-7.2.1.pyc +0 -0
  96. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/__pycache__/test_confluence_attach.cpython-311-pytest-7.3.1.pyc +0 -0
  97. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/__pycache__/test_confluence_attach.cpython-311-pytest-7.4.0.pyc +0 -0
  98. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/__pycache__/test_confluence_attach.cpython-311-pytest-7.4.2.pyc +0 -0
  99. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/__pycache__/test_jira.cpython-311-pytest-7.2.0.pyc +0 -0
  100. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/__pycache__/test_jira.cpython-311-pytest-7.2.1.pyc +0 -0
  101. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/__pycache__/test_jira.cpython-311-pytest-7.3.1.pyc +0 -0
  102. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/__pycache__/test_jira.cpython-311-pytest-7.4.0.pyc +0 -0
  103. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/__pycache__/test_jira.cpython-311-pytest-8.0.0.pyc +0 -0
  104. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/__pycache__/test_servicedesk.cpython-311-pytest-7.2.0.pyc +0 -0
  105. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/__pycache__/test_servicedesk.cpython-311-pytest-7.2.1.pyc +0 -0
  106. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/__pycache__/test_servicedesk.cpython-311-pytest-7.3.1.pyc +0 -0
  107. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/__pycache__/test_servicedesk.cpython-311-pytest-7.4.0.pyc +0 -0
  108. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/__pycache__/test_servicedesk.cpython-311-pytest-7.4.2.pyc +0 -0
  109. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/mockup.py +0 -0
  110. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/GET +0 -0
  111. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/TestRepositoryCreated/POST +0 -0
  112. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/GET +0 -0
  113. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/branch-restrictions/17203842/DELETE +0 -0
  114. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/branch-restrictions/17203842/GET +0 -0
  115. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/branch-restrictions/17203842/PUT +0 -0
  116. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/branch-restrictions/GET +0 -0
  117. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/default-reviewers/DefaultReviewer1Uuid/DELETE +0 -0
  118. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/default-reviewers/DefaultReviewer1Uuid/GET +0 -0
  119. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/default-reviewers/GET +0 -0
  120. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/issues/3/DELETE +0 -0
  121. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/issues/3/GET +0 -0
  122. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/issues/3/PUT +0 -0
  123. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/issues/GET +0 -0
  124. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/issues/POST +0 -0
  125. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pipelines/GET +0 -0
  126. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pipelines/POST +0 -0
  127. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pipelines/{PipelineUuid}/GET +0 -0
  128. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pipelines/{PipelineUuid}/steps/GET +0 -0
  129. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pipelines/{PipelineUuid}/steps/{PipelineStep1Uuid}/GET +0 -0
  130. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pipelines/{PipelineUuid}/steps/{PipelineStep2Uuid}/GET +0 -0
  131. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pipelines/{PipelineUuid}/steps/{PipelineStep2Uuid}/log/GET +0 -0
  132. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pipelines/{PipelineUuid}/stopPipeline/POST +0 -0
  133. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/GET +0 -0
  134. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/approve/DELETE +0 -0
  135. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/approve/POST +0 -0
  136. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/comments/GET +0 -0
  137. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/comments/POST +0 -0
  138. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/commits/GET +0 -0
  139. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/decline/POST +0 -0
  140. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/merge/POST +0 -0
  141. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/request-changes/DELETE +0 -0
  142. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/request-changes/POST +0 -0
  143. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/statuses/GET +0 -0
  144. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/tasks/123456/DELETE +0 -0
  145. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/tasks/123456/PUT +0 -0
  146. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/tasks/GET +0 -0
  147. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/tasks/POST +0 -0
  148. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/25/GET +0 -0
  149. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/GET +0 -0
  150. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/POST +0 -0
  151. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/cloud/2.0/workspaces/GET +0 -0
  152. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/cloud/2.0/workspaces/TestWorkspace1/GET +0 -0
  153. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/cloud/2.0/workspaces/TestWorkspace2/GET +0 -0
  154. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/cloud/2.0/workspaces/TestWorkspace3/GET +0 -0
  155. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/server/rest/api/1.0/admin/permissions/groups/DELETE +0 -0
  156. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/server/rest/api/1.0/admin/permissions/groups/GET +0 -0
  157. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/server/rest/api/1.0/admin/permissions/groups/none/GET +0 -0
  158. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/server/rest/api/1.0/admin/permissions/users/DELETE +0 -0
  159. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/server/rest/api/1.0/admin/permissions/users/GET +0 -0
  160. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/server/rest/api/1.0/admin/permissions/users/none/GET +0 -0
  161. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/server/rest/api/1.0/projects/GET +0 -0
  162. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/GET +0 -0
  163. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/PUT +0 -0
  164. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/permissions/groups/DELETE +0 -0
  165. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/permissions/groups/GET +0 -0
  166. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/permissions/groups/none/GET +0 -0
  167. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/permissions/users/DELETE +0 -0
  168. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/permissions/users/GET +0 -0
  169. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/permissions/users/none/GET +0 -0
  170. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/GET +0 -0
  171. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/GET +0 -0
  172. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/PUT +0 -0
  173. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/archive/GET +0 -0
  174. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/contributing/GET +0 -0
  175. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/default-branch/GET +0 -0
  176. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/default-branch/PUT +0 -0
  177. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/forks/GET +0 -0
  178. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/license/GET +0 -0
  179. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/permissions/groups/DELETE +0 -0
  180. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/permissions/groups/GET +0 -0
  181. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/permissions/groups/none/GET +0 -0
  182. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/permissions/users/DELETE +0 -0
  183. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/permissions/users/GET +0 -0
  184. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/permissions/users/none/GET +0 -0
  185. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/readme/GET +0 -0
  186. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/related/GET +0 -0
  187. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/webhooks/3/DELETE +0 -0
  188. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/webhooks/3/GET +0 -0
  189. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/webhooks/3/PUT +0 -0
  190. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/webhooks/GET +0 -0
  191. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/webhooks/POST +0 -0
  192. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/jira/rest/agile/1.0/epic/BAR-22/issue/GET +0 -0
  193. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/jira/rest/agile/1.0/epic/none/issue/GET +0 -0
  194. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/jira/rest/api/2/comment/list/POST +0 -0
  195. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/jira/rest/api/2/issue/FOO-123/GET +0 -0
  196. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/jira/rest/api/2/issue/FOO-123/comment/10000/GET +0 -0
  197. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/jira/rest/api/2/issue/FOO-123/comment/GET +0 -0
  198. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/jira/rest/api/2/issue/FOO-123/properties/Bar1/DELETE +0 -0
  199. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/jira/rest/api/2/issue/FOO-123/properties/Bar1/GET +0 -0
  200. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/jira/rest/api/2/issue/FOO-123/properties/Bar1/PUT +0 -0
  201. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/jira/rest/api/2/issue/FOO-123/properties/Bar2New/PUT +0 -0
  202. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/jira/rest/api/2/issue/FOO-123/properties/GET +0 -0
  203. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/jira/rest/api/2/issue/POST +0 -0
  204. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/jira/rest/api/2/issue/REGEX-123/file.txt +0 -0
  205. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/servicedesk/rest/servicedeskapi/customer/POST +0 -0
  206. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/servicedesk/rest/servicedeskapi/organization/GET +0 -0
  207. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/servicedesk/rest/servicedeskapi/organization/POST +0 -0
  208. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/servicedesk/rest/servicedeskapi/organization/{organizationId}/DELETE +0 -0
  209. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/servicedesk/rest/servicedeskapi/organization/{organizationId}/GET +0 -0
  210. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/servicedesk/rest/servicedeskapi/organization/{organizationId}/property/GET +0 -0
  211. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/servicedesk/rest/servicedeskapi/organization/{organizationId}/user/DELETE +0 -0
  212. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/servicedesk/rest/servicedeskapi/organization/{organizationId}/user/GET +0 -0
  213. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/servicedesk/rest/servicedeskapi/organization/{organizationId}/user/POST +0 -0
  214. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/servicedesk/rest/servicedeskapi/servicedesk/{serviceDeskId}/customer/DELETE +0 -0
  215. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/servicedesk/rest/servicedeskapi/servicedesk/{serviceDeskId}/customer/GET +0 -0
  216. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/servicedesk/rest/servicedeskapi/servicedesk/{serviceDeskId}/customer/POST +0 -0
  217. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/servicedesk/rest/servicedeskapi/servicedesk/{serviceDeskId}/organization/DELETE +0 -0
  218. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/servicedesk/rest/servicedeskapi/servicedesk/{serviceDeskId}/organization/GET +0 -0
  219. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/responses/servicedesk/rest/servicedeskapi/servicedesk/{serviceDeskId}/organization/POST +0 -0
  220. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/test_base.py +0 -0
  221. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/test_bitbucket_cloud_oo.py +0 -0
  222. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/test_bitbucket_server.py +0 -0
  223. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/test_bitbucket_server_oo.py +0 -0
  224. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/test_confluence_advanced_mode.py +0 -0
  225. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/test_confluence_attach.py +0 -0
  226. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/test_jira.py +0 -0
  227. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tests/test_servicedesk.py +0 -0
  228. {atlassian_python_api-3.41.14 → atlassian_python_api-3.41.15}/tox.ini +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: atlassian-python-api
3
- Version: 3.41.14
3
+ Version: 3.41.15
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.15
@@ -1,5 +1,7 @@
1
1
  # coding=utf-8
2
2
  import logging
3
+ from enum import Enum
4
+ from typing import Optional, Union
3
5
 
4
6
  from deprecated import deprecated
5
7
  from requests import HTTPError
@@ -10,6 +12,16 @@ from atlassian.bitbucket.cloud import Cloud
10
12
  log = logging.getLogger(__name__)
11
13
 
12
14
 
15
+ class MergeStrategy(Enum):
16
+ """
17
+ Merge strategies used by the merge_pull_request method.
18
+ """
19
+
20
+ MERGE_COMMIT = "merge_commit"
21
+ SQUASH = "squash"
22
+ FAST_FORWARD = "fast_forward"
23
+
24
+
13
25
  class Bitbucket(BitbucketBase):
14
26
  def __init__(self, url, *args, **kwargs):
15
27
  if "cloud" not in kwargs and ("bitbucket.org" in url):
@@ -2194,7 +2206,16 @@ class Bitbucket(BitbucketBase):
2194
2206
  url = "{}/merge".format(self._url_pull_request(project_key, repository_slug, pr_id))
2195
2207
  return self.get(url)
2196
2208
 
2197
- def merge_pull_request(self, project_key, repository_slug, pr_id, pr_version):
2209
+ def merge_pull_request(
2210
+ self,
2211
+ project_key: str,
2212
+ repository_slug: str,
2213
+ pr_id: int,
2214
+ merge_message: str,
2215
+ close_source_branch: bool = False,
2216
+ merge_strategy: Union[str, MergeStrategy] = MergeStrategy.MERGE_COMMIT,
2217
+ pr_version: Optional[int] = None,
2218
+ ):
2198
2219
  """
2199
2220
  Merge pull request
2200
2221
  The authenticated user must have REPO_READ permission for the repository
@@ -2203,14 +2224,23 @@ class Bitbucket(BitbucketBase):
2203
2224
  :param project_key: PROJECT
2204
2225
  :param repository_slug: my_shiny_repo
2205
2226
  :param pr_id: 2341
2227
+ :param merge_message: "feat: add new file handler"
2206
2228
  :param pr_version:
2229
+ :param close_source_branch: True
2230
+ :param merge_strategy: "squash"
2207
2231
  :return:
2208
2232
  """
2209
2233
  url = "{}/merge".format(self._url_pull_request(project_key, repository_slug, pr_id))
2210
2234
  params = {}
2235
+ data = {
2236
+ "type": "pullrequest",
2237
+ "message": merge_message,
2238
+ "close_source_branch": close_source_branch,
2239
+ "merge_strategy": MergeStrategy(merge_strategy).value,
2240
+ }
2211
2241
  if not self.cloud:
2212
2242
  params["version"] = pr_version
2213
- return self.post(url, params=params)
2243
+ return self.post(url, data=data, params=params)
2214
2244
 
2215
2245
  def reopen_pull_request(self, project_key, repository_slug, pr_id, pr_version):
2216
2246
  """
@@ -164,7 +164,10 @@ class BitbucketBase(AtlassianRestAPI):
164
164
  # The format contains a : in the timezone which is supported from 3.7 on.
165
165
  if sys.version_info <= (3, 7):
166
166
  value_str = RE_TIMEZONE.sub(r"\1\2", value_str)
167
- value = datetime.strptime(value_str, self.CONF_TIMEFORMAT)
167
+ try:
168
+ value = datetime.strptime(value_str, self.CONF_TIMEFORMAT)
169
+ except ValueError:
170
+ value = datetime.strptime(value_str, "%Y-%m-%dT%H:%M:%S.%fZ", tzinfo="UTC")
168
171
  else:
169
172
  value = value_str
170
173
 
@@ -37,6 +37,7 @@ class Confluence(AtlassianRestAPI):
37
37
  @staticmethod
38
38
  def _create_body(body, representation):
39
39
  if representation not in [
40
+ "atlas_doc_format",
40
41
  "editor",
41
42
  "export_view",
42
43
  "view",
@@ -3067,10 +3068,8 @@ class Confluence(AtlassianRestAPI):
3067
3068
  :param group_name: str - name of group to add user to
3068
3069
  :return: Current state of the group
3069
3070
  """
3070
- url = "rest/api/2/group/user"
3071
- params = {"groupname": group_name}
3072
- data = {"name": username}
3073
- return self.post(url, params=params, data=data)
3071
+ url = f"rest/api/user/{username}/group/{group_name}"
3072
+ return self.put(url)
3074
3073
 
3075
3074
  def add_space_permissions(
3076
3075
  self,
@@ -284,11 +284,11 @@ class Jira(AtlassianRestAPI):
284
284
  """
285
285
  Returns the content for an attachment
286
286
  :param attachment_id: int
287
- :return: json
287
+ :return: content as bytes
288
288
  """
289
289
  base_url = self.resource_url("attachment")
290
290
  url = "{base_url}/content/{attachment_id}".format(base_url=base_url, attachment_id=attachment_id)
291
- return self.get(url)
291
+ return self.get(url, not_json_response=True)
292
292
 
293
293
  def remove_attachment(self, attachment_id):
294
294
  """
@@ -1,6 +1,8 @@
1
1
  # coding=utf-8
2
2
  import logging
3
3
 
4
+ from requests import HTTPError
5
+
4
6
  from .rest_client import AtlassianRestAPI
5
7
 
6
8
  log = logging.getLogger(__name__)
@@ -909,3 +911,22 @@ class ServiceDesk(AtlassianRestAPI):
909
911
 
910
912
  url = "rest/servicedeskapi/servicedesk/{}/requesttype".format(service_desk_id)
911
913
  return self.post(url, headers=self.experimental_headers, data=data)
914
+
915
+ def raise_for_status(self, response):
916
+ """
917
+ Checks the response for an error status and raises an exception with the error message provided by the server
918
+ :param response:
919
+ :return:
920
+ """
921
+ if response.status_code == 401 and response.headers.get("Content-Type") != "application/json;charset=UTF-8":
922
+ raise HTTPError("Unauthorized (401)", response=response)
923
+
924
+ if 400 <= response.status_code < 600:
925
+ try:
926
+ j = response.json()
927
+ error_msg = j["errorMessage"]
928
+ except Exception as e:
929
+ log.error(e)
930
+ response.raise_for_status()
931
+ else:
932
+ raise HTTPError(error_msg, response=response)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: atlassian-python-api
3
- Version: 3.41.14
3
+ Version: 3.41.15
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.14