atlassian-python-api
atlassian-python-api copied to clipboard
Atlassian Python REST API wrapper
This code: ``` for p in repository.pullrequests.each(): continue ``` Generates this error: ``` HTTPError: 400 Client Error: Bad Request for url: https://api.bitbucket.org/2.0/repositories/{workspace}/{repository}/pullrequests/?page=2/ ```
``` from atlassian import Insight import config with open(config.api_token_file, 'r') as token_file: api_user, api_pass = token_file.read().strip().split(':') insight = Insight( url=config.site_url, username=api_user, password=api_pass, cloud=True) print(insight.default_headers) ``` Outputs: `{'Accept': 'application/json'}` Should be:...
Exposing this API would be fantastic! https://developer.atlassian.com/cloud/bitbucket/rest/api-group-pullrequests/#api-repositories-workspace-repo-slug-commit-commit-pullrequests-get I was able to make the query, but got an error on return type: ```python repository.commits.get('139c0e7ab3d45561ca1215090e236df76f358011/pullrequests') ValueError: Expected type of data is [commit],...
The `Confluence` class has several functions documented to return a specific type. However, when a target page does not exist the function will log an error and return `None`. This...
Recently, I had to create some pages on confluence using a python script. Two pages contain Images. The first time that I attach the image to the page, there's no...
Currently comments can only be added to the overall section of a PR. The Bitbucket Data Center [REST API](https://developer.atlassian.com/server/bitbucket/rest/v900/api-group-pull-requests/#api-api-latest-projects-projectkey-repos-repositoryslug-pull-requests-pullrequestid-comments-post) supports adding comments to specific lines within a file by using...
Hi, I've noticed the same incomplete sentence in two docstrings under `Confluence.attach_file()` and `Confluence.attach_content()`. The current sentences are: > :param content_type: Specify the HTTP content type. The default is Based...
Hi. Are there plans to support the new confluence databases feature? https://support.atlassian.com/confluence-cloud/docs/get-started-with-confluence-databases/
Adding a link to an application connected with a Jira instance through the `/rest/api/2/issue/{issueIdOrKey}/remotelink` Jira API route, an `application` section might be provided. This might for instance be used to...
When I login with an account using JIRA api and query some issues. The fields which store datetime doesn't return the correct time in user's setting timezone. Is there any...