atlassian-python-api
atlassian-python-api copied to clipboard
Atlassian Python REST API wrapper
When using the Confluence API (version 3.5.2), a 500 internal error when trying to send a create_page request to Confluence. A similar issue occurs when using an updated version (3.41.11)...
What's the status on a release which updates to the new assets endpoints? Looking specifically at: https://github.com/atlassian-api/atlassian-python-api/blob/0a5bc5ee72427be0ec16ce5db4f4b091f7a00ddc/atlassian/insight.py#L23 https://github.com/atlassian-api/atlassian-python-api/blob/0a5bc5ee72427be0ec16ce5db4f4b091f7a00ddc/atlassian/insight.py#L258
https://confluence.atlassian.com/bitbucketserverkb/how-to-create-a-simple-hook-in-bitbucket-data-center-and-server-779171711.html These methods are not currently supported (or I didn't find the correct methods): (POST /rest/api/latest/hook-scripts) (PUT /rest/api/latest/projects/{projectKey}/hook-scripts/{scriptId}) (PUT /rest/api/latest/projects/{projectKey}/repos/{repositorySlug}/hook-scripts/{scriptId})
Here is the code that we have tried to and we are getting close. Without the api key and user id it won't be exact numbers but if someone could...
hi there I have a rather simple function to delete projects with which I want to clean up a jira test instance. Unfortunately I still run into timeouts or other...
According to https://github.com/psf/requests/issues/1997 when using files in requests, one is not supposed to provide headers, so that the library will take care of the `multipart/form-data` with the appropriate content-type. An...
Rel: https://github.com/atlassian-api/atlassian-python-api/issues/1422 The URL of the confluence REST API was wrong in add_user_group and it has to be a PUT request according to: [https://docs.atlassian.com/ConfluenceServer/rest/8.2.0/#api/user/{username}/group/{groupName}-update](https://docs.atlassian.com/ConfluenceServer/rest/8.2.0/#api/user/%7Busername%7D/group/%7BgroupName%7D-update)
https://github.com/atlassian-api/atlassian-python-api/blob/42ed0b022ec5d13416d79f4118e655f536247d07/atlassian/confluence.py#L3062 This function is using the wrong URL and it should be a "PUT" not a "POST" see: https://docs.atlassian.com/ConfluenceServer/rest/8.2.0/#api/user/{username}/group/{groupName}-update Fix that should work: ``` def add_user_to_group(self, username, group_name): """ Add...
While building an application that implemented [Atlassian OAuth2 (3LO)](https://developer.atlassian.com/cloud/jira/platform/oauth-2-3lo-apps/) authorization, I encountered a situation where the two methods I used for [Jira](https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/jira.py) entities behaved differently - one worked, and the...
Even if the Confluence Client is instantiated with verify_ssl=False the Attachment Download stills breaks at the verification stage since the method uses the get method from the request session. Workaround...