GithubHelp home page GithubHelp logo

rehsals / jira Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pycontribs/jira

0.0 0.0 0.0 3.16 MB

Python Jira library. Development chat available on https://matrix.to/#/#pycontribs:matrix.org

Home Page: https://jira.readthedocs.io

License: BSD 2-Clause "Simplified" License

Shell 0.49% Python 99.39% Dockerfile 0.12%

jira's Introduction

Jira Python Library

https://img.shields.io/badge/irc-%23pycontribs-blue


https://readthedocs.org/projects/jira/badge/?version=main Requirements Status

This library eases the use of the Jira REST API from Python and it has been used in production for years.

As this is an open-source project that is community maintained, do not be surprised if some bugs or features are not implemented quickly enough. You are always welcomed to use BountySource to motivate others to help.

Quickstart

Feeling impatient? I like your style.

from jira import JIRA

jira = JIRA('https://jira.atlassian.com')

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]'

Installation

Download and install using pip install jira or easy_install jira

You can also try pip install --user --upgrade jira which will install or upgrade jira to your user directory. Or maybe you ARE using a virtualenv right?

By default only the basic library dependencies are installed, so if you want to use the cli tool or other optional dependencies do perform a full installation using pip install jira[opt,cli,test]

Usage

See the documentation for full details.

Development

Development takes place on GitHub using the default repository branch. Each version is tagged.

Setup

  • Fork repo
  • Keep it sync'ed while you are developing

Automatic (VS Code)

Open in Remote - Containers

Follow the instructions in the contributing guide, which will describe how to use the dev container that will automatically setup a suitable environment.

Manual

  • Install pyenv to install a suitable python version.
  • Launch docker jira server
    • docker run -dit -p 2990:2990 --name jira addono/jira-software-standalone

tox envs

  • Lint
    • tox -e lint
  • Run tests
    • tox
  • Build and publish with TWINE
    • tox -e publish

Jira REST API Reference Links

When updating interactions with the Jira REST API please refer to the documentation below. We aim to support both Jira Cloud and Jira Server / Data Center.

  1. Jira Cloud / Jira Server (main REST API reference)
  2. Jira Software Cloud / Jira Software Server (former names include: Jira Agile, Greenhopper)
  3. Jira Service Desk Cloud / Jira Service Desk Server

Credits

In addition to all the contributors we would like to thank to these companies:

  • Atlassian for developing such a powerful issue tracker and for providing a free on-demand Jira instance that we can use for continuous integration testing.
  • JetBrains for providing us with free licenses of PyCharm
  • GitHub for hosting our continuous integration and our git repo
  • Navicat for providing us free licenses of their powerful database client GUI tools.
https://raw.githubusercontent.com/pycontribs/resources/main/logos/x32/logo-atlassian.png https://raw.githubusercontent.com/pycontribs/resources/main/logos/x32/logo-pycharm.png https://raw.githubusercontent.com/pycontribs/resources/main/logos/x32/logo-navicat.png

jira's People

Contributors

achimh3011 avatar adehad avatar asfaltboy avatar asqui avatar bakkeby avatar bogdan-marchis avatar bspeakmon avatar danny-cheung avatar dbaxa avatar dbravender avatar dchevell avatar dependabot[bot] avatar dugjason avatar expobrain avatar fikander avatar filmackay avatar hdost avatar jonromero avatar jwodder avatar lechat avatar markeganfuller avatar mattwtstudley avatar merazola avatar milo-minderbinder avatar pbabinca avatar pre-commit-ci[bot] avatar simplicityguy avatar ssbarnea avatar studioj avatar vassius avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.