jira-python /

Filename Size Date modified Message
docs
examples
jira
tools
37 B
1.3 KB
1015 B
1.0 KB

JIRA Python Library

This library eases the use of the JIRA REST API from Python applications.

Quickstart

Feeling impatient? I like your style.

    from jira.client import JIRA

    options = { 'server': 'https://jira.atlassian.com'}
    jira = JIRA(options)

    issue = jira.issue('JRA-9')
    print issue.fields.project.key             # 'JRA'
    print issue.fields.issuetype.name          # 'New Feature'
    print issue.fields.reporter.displayName    # 'Mike Cannon-Brookes [Atlassian]'

Getting Started

Requirements

The library works off of Kenneth Reitz's indispensable requests library in addition to standard pieces of the Python library. See setup.py for name and version details.

Installation

Download and install using pip:

pip install jira-python

You ARE using a virtualenv, right?

Usage

See the documentation for full details.

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.