atlassian-python-api
atlassian-python-api copied to clipboard
Atlassian Python REST API wrapper
I try to add a new version. First I can see that the documentation and the implementation of add_version are different (different names for function parameters). There is a parameter...
I am trying to download attachments from confluence pages. Because I have been getting 401 errors when calling download_attachments_from_page() (it worked yesterday?) I also included get_attachments_from_content(). def downloadFileFromConfluence(logger, Confluence, confluencePageID,...
File "C:\repos\confluence_automation\.venv\Lib\site-packages\atlassian\confluence\__init__.py", line 2654, in get_group_members response = self.get(url) ^^^^^^^^^^^^^ File "C:\repos\confluence_automation\.venv\Lib\site-packages\atlassian\rest_client.py", line 561, in get response = self.request( ^^^^^^^^^^^^^ File "C:\repos\confluence_automation\.venv\Lib\site-packages\atlassian\rest_client.py", line 450, in request self.raise_for_status(response) File "C:\repos\confluence_automation\.venv\Lib\site-packages\atlassian\confluence\__init__.py", line...
``` loader.confluence.get_page_by_id(PAGE_TITLE) .venv\Lib\site-packages\atlassian\confluence\__init__.py", line 385, in get_page_by_id response = self.get(url, `params=params)` .venv\Lib\site-packages\atlassian\rest_client.py", line 561, in get response = self.request( ^^^^^^^^^^^^^ .venv\Lib\site-packages\atlassian\rest_client.py", line 437, in request continue_retries = retry_handler(response) ^^^^^^^^^^^^^^^^^^^^^^^ \.venv\Lib\site-packages\atlassian\rest_client.py",...
The implemented and released solution to #1547 makes the function get_all_pages_from_space useless as it always stops after the first page. Suggested solution: Revert the change. The issue #1547 is acceptable...
# Environment ```console $ pip list | grep atlassian atlassian-python-api 4.0.7 $ cat /etc/os-release PRETTY_NAME="Ubuntu 24.04.3 LTS" NAME="Ubuntu" VERSION_ID="24.04" VERSION="24.04.3 LTS (Noble Numbat)" VERSION_CODENAME=noble ID=ubuntu ID_LIKE=debian $ pip --version pip...
Executing jira.jql(jql_request) results with The requested API has been removed. Please migrate to the /rest/api/3/search/jql API. A full migration guideline is available at https://developer.atlassian.com/changelog/#CHANGE-2046
Hi, I noticed, that the documentation mentions a "Confluence New Implementation" (https://atlassian-python-api.readthedocs.io/confluence.html#new-implementation) which is not available in the latest release version (4.0.7). Looks like the logic for it is still...
This URL here (example): https://github.com/atlassian-api/atlassian-python-api/blob/0b86336a11f6670eb64882cb85007110616b5156/atlassian/statuspage.py#L2515 must be `url = f"v1/pages/{page_id}/component-groups"` Same for all other places where the API endpoint is used. See: https://developer.statuspage.io/#operation/getPagesPageIdComponentGroups
The implementation of `Insights.add_comment_to_object` uses `self.api.post(url, params=params)` which results in ``` atlassian.rest_client - DEBUG - curl --silent -X POST -H 'Content-Type: application/json' -H 'Accept: application/json' 'https://example.com/rest/insight/1.0/comment/create?comment=script+Testing3&objectId=2193999&role=0' atlassian.rest_client - DEBUG -...