Skip to main content

A really basic Atlassian REST Client

Project description

python-simpleatlassian

The most simple, and most powerful Atlassian (JIRA) Python API

Installation

pip install simpleatlassian

Usage

from simpleatlassian import JIRA

# Make a connection with basic auth
j = JIRA(
    'https://myjirahost.com/jira/rest/',
    username='myuser',
    password='mypw'
)

# Search some issues (get_all collects all pages of a result)
issues = j.get_all(
    'api/2/search',
    params={
        'jql': 'issuetype = Bug'
    },
    resultfield='issues'
)

# Get a board configuration
j.get('agile/1.0/board/1/configuration')

Don't forget to check out Atlassian's official documentation: https://docs.atlassian.com/jira-software/REST/latest/

Development

Upload to pip

  1. Make sure that the version number has been updated
  2. Generate dist files python setup.py sdist bdist_wheel
  3. Upload to PyPI twine upload dist/*

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simpleatlassian-0.0.1.tar.gz (2.4 kB view hashes)

Uploaded Source

Built Distribution

simpleatlassian-0.0.1-py3-none-any.whl (4.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page