atlassian-python-api
atlassian-python-api copied to clipboard
Atlassian Python REST API wrapper
I'm currently working on a draft PR to add type hint annotations and I noticed black installs an older version in python3.6 & python3.7. This is causing inconsistent results in...
an issue was fixed a few days ago which would is blocking some of our development can you please do a release with the latest code base in? https://github.com/atlassian-api/atlassian-python-api/pull/1413
Since adding typehints to the entire repo would make for a VERY large PR, I'm breaking up the changes mostly by module. This PR focuses on adding hints to jira.py
When using get_page_id with the title option to get a page that doesn't exist in a given space, the method will output the error: Can't find 'title' page on the...
Code : confluence = Confluence( url= atlassian_url, username=username, password=api_token, api_version="cloud" ) content = confluence.get_page_as_pdf(page_id) output_filename = "output.pdf" with open(output_filename, "wb") as pdf_file: pdf_file.write(content) pdf_file.close() Error: Traceback (most recent call last):...
confluence.get_page_by_id(page_id, expand='body.storage') is not reading all the data if the confluence page is very large. (1500 KB) How to handle reading of such large confluence pages?
The rest api [documentation](https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-issues/#api-rest-api-2-issue-issueidorkey-put) allow use of **update** and **fields** properties on body request but the [edit_issue](https://github.com/atlassian-api/atlassian-python-api/blob/d052dc5506ee2cb6e7826b2813f6503c273d9792/atlassian/jira.py#L1500) apply data _only_ to **update** property. The [update_issue](https://github.com/atlassian-api/atlassian-python-api/blob/d052dc5506ee2cb6e7826b2813f6503c273d9792/atlassian/jira.py#L1484) method apply data _only_ to...
There's a possibility to get all spaces by a specified label in the Confluence Rest API, but it's impossible to do this via SDK right now. As a workaround I...
Has anyone tested this recently? https://github.com/atlassian-api/atlassian-python-api/blob/master/examples/confluence/confluence_export_page.py ``` confluence = Confluence( url='https://chewyinc.atlassian.net/', username='', password='', api_version='cloud', ) # ... content = confluence.export_page(page_id) ``` When I run the code, it errors out with...
In the case when confluence page points to another confluence page we are not able to get attachments.  The reason is images on page are not included in the...