atlassian-python-api | Atlassian Python REST API wrapper | REST library

 by   atlassian-api Python Version: 3.41.11 License: Apache-2.0

kandi X-RAY | atlassian-python-api Summary

kandi X-RAY | atlassian-python-api Summary

atlassian-python-api is a Python library typically used in Web Services, REST, Jira applications. atlassian-python-api has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has medium support. You can install using 'pip install atlassian-python-api' or download it from GitHub, PyPI.

Atlassian Python REST API wrapper
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              atlassian-python-api has a medium active ecosystem.
              It has 1068 star(s) with 567 fork(s). There are 39 watchers for this library.
              There were 8 major release(s) in the last 6 months.
              There are 176 open issues and 306 have been closed. On average issues are closed in 192 days. There are 3 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of atlassian-python-api is 3.41.11

            kandi-Quality Quality

              atlassian-python-api has 0 bugs and 0 code smells.

            kandi-Security Security

              atlassian-python-api has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              atlassian-python-api code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              atlassian-python-api is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              atlassian-python-api releases are available to install and integrate.
              Deployable package is available in PyPI.
              Build file is available. You can build the component from source.

            Top functions reviewed by kandi - BETA

            kandi has reviewed atlassian-python-api and discovered the below as its top functions. This is intended to give you an instant insight into atlassian-python-api implemented functionality, and help decide if they suit your requirements.
            • Update a page
            • Make a GET request
            • Get a single page by id
            • Create the body
            • Set branch permissions
            • URL for branch permissions
            • Create a pull request
            • Construct the URL for a resource
            • Returns the URL for pull requests
            • Find users by user string
            • Generate an HTML table from a dictionary
            • Returns the results of a job
            • Create a branch
            • Create or update a page
            • Create or update a template
            • Get a list of commits for a project
            • Get all permissions for the project
            • Create an object navigation list
            • Download a repository archive
            • Attach a file to the confluence
            • Gets comments for the given content
            • Get the content of a space
            • Get a list of tickets
            • Get all pages from a Space
            • Gets a list of project versions for the given key
            • Performs an IQL query
            Get all kandi verified functions for this library.

            atlassian-python-api Key Features

            No Key Features are available at this moment for atlassian-python-api.

            atlassian-python-api Examples and Code Snippets

            converting utc to est time in python
            Pythondot img1Lines of Code : 18dot img1License : Strong Copyleft (CC BY-SA 4.0)
            copy iconCopy
            startdate = "start date: 2021-09-20T07:16:08.000+0000"
            enddate = "end date: 2021-09-21"
            
            justStartDatetimeString = startdate.split(" ")[-1]
            justEndDatetimeString = enddate.split(" ")[-1]
            
            "20
            getting error on updating assignee and comment field in JIRA using python
            Pythondot img2Lines of Code : 4dot img2License : Strong Copyleft (CC BY-SA 4.0)
            copy iconCopy
            jira_instance.issue_add_comment(test_data['key'], 'This is the comment')
            
            jira_instance.update_issue_field(test_data['key'], fields={"assignee": "####"})
            
            getting error on updating assignee and comment field in JIRA using python
            Pythondot img3Lines of Code : 2dot img3License : Strong Copyleft (CC BY-SA 4.0)
            copy iconCopy
            jira_instance.issue.update(assignee={'accountId': '5b10ac8d82e05b22cc7d4ef5'})
            
            Preserve new lines in Confluence API
            Pythondot img4Lines of Code : 10dot img4License : Strong Copyleft (CC BY-SA 4.0)
            copy iconCopy
            confluence_data = yaml.safe_dump(confluence_data['associations'], allow_unicode=True)
            
            new_confluence_data = ""
            confluence_data_lines = confluence_data.splitlines()
            for line in confluence_data_lines:
                line = "

            Community Discussions

            QUESTION

            How to use the Confluence API "get_all_pages_from_space"?
            Asked 2021-Oct-05 at 06:58

            I am trying to use the Confluence API "get_all_pages_from_space" to retrieve all pages (400 or so in total) in a Confluence space.

            ...

            ANSWER

            Answered 2021-Oct-05 at 06:58

            A little bit late, but hopefully still might help:

            Source https://stackoverflow.com/questions/69111800

            QUESTION

            requests.exceptions.HTTPError: 401 Client Error atlassian-python-api
            Asked 2021-Mar-25 at 22:44

            I am trying to connect to a Confluence page using the python wrapper on the API (as I am not familiar with any of this) but I keep getting the following error:

            ...

            ANSWER

            Answered 2021-Mar-25 at 16:38

            Your code looks ok. Authenticating to Confluence using Basic Auth should work without generating an API token, afaik.

            The 401 status definitely suggests a problem with the authentication though. The obvious reason for this would be of course wrong credentials, but I assume that you have double checked that the credentials work when interactively logging into confluence with a browser.

            To get a better sense of the error, you can import logging to debug your requests and response:

            Source https://stackoverflow.com/questions/66426181

            QUESTION

            Setting a commit message / update comment when editing a page with Atlassian Confluence Python API
            Asked 2021-Mar-25 at 09:00

            I am using the atlassian-python-api to update a page as described in the documentation:

            ...

            ANSWER

            Answered 2021-Mar-25 at 09:00

            This is actually directly possible with update_page(), though you are correct, it is not documented in the method's documentation.

            I found in the source code that the method update_page() takes an optional argument version_comment. This is the comment that you want to set.

            Extending your example:

            Source https://stackoverflow.com/questions/66791231

            QUESTION

            How to move Confluence pages along with the contents from one space to another using Python?
            Asked 2020-Aug-12 at 12:33

            I'm trying to write a Python script based on the atlassian-python-api module which will copy the spaces from one space and the create them in another space hosted in a different server using the following commands:

            ...

            ANSWER

            Answered 2020-Aug-12 at 12:33

            As per my understanding, there’s no proper way to do this programmatically as of now using Python.

            The only ways we can achieve this are as follows:

            1. Copy Paste the pages manually one by one from edit mode.
            2. XML Export & Import the space by putting the XML file in the JIRA server.
            3. Using Bobswift CLI tool which supports this functionality.

            Source https://stackoverflow.com/questions/63061984

            QUESTION

            How to download a Confluence page attachment with Python?
            Asked 2020-Feb-03 at 12:52

            With the atlassian-python-api 1.15.1 module and python 3.6 how can I to download a file attached to a Confluence page ?

            The page actions section of the API documentation mentions an API get_attachments_from_content, with which I can successfully obtain a list of all page attachments, with their metadata. There's an example at the end of this question of what I can obtain by printing one of the items in the results key.

            What I already tried is to use the wget module to downloaad the attachment:

            ...

            ANSWER

            Answered 2020-Feb-03 at 12:52

            While I didn't find a way to download the files directly with the atlassian-python-api module, I managed to do it with the requests module, thanks to this answer. Here's the code used to download all attachments visible in the page:

            Source https://stackoverflow.com/questions/60038509

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install atlassian-python-api

            You can install using 'pip install atlassian-python-api' or download it from GitHub, PyPI.
            You can use atlassian-python-api like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
          • PyPI

            pip install atlassian-python-api

          • CLONE
          • HTTPS

            https://github.com/atlassian-api/atlassian-python-api.git

          • CLI

            gh repo clone atlassian-api/atlassian-python-api

          • sshUrl

            git@github.com:atlassian-api/atlassian-python-api.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link