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.2.tar.gz (2.4 kB view hashes)

Uploaded source

Built Distribution

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

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page