/jiraone

A REST API Implementation to Jira Cloud APIs for creating reports and for performing other Jira queries.

Primary LanguagePythonMIT LicenseMIT

Codacy Badge Downloads PyPI version PyPI - License Build Doc jiraone Build Status

Jira one

A REST API Implementation to Jira Cloud APIs for creating reports and for performing other Jira queries.

Configurations

Install using pip. You have to be on python >= 3.6.x in order to utilize this script.

  • Download python and install on your device by visiting python.org
  • Run the below command either using a virtual environment or from your python alias
pip install jiraone

OR

python3 -m pip install jiraone

Classes, functions and methods

Jiraone comes with various classes, functions and methods. Aliases as well, are used to represent links to classes and functions. The major ones to take note of are the ones shown on the directory link below.

For further knowledge on how to use the classes, methods or functions. Open the jiraone package and read the docstring on the aforementioned methods or functions above to get further information.

If you're connecting to Jira server or datacenter, you will need to change the API endpoint to point to server instances. To do that, simply change the attribute LOGIN.api = False this helps to use the endpoint /rest/api/latest which is compatible for Jira server or datacenter.

from jiraone import LOGIN

data = "username", "password", "https://server.jiraserver.com"
LOGIN.api = False
LOGIN(*data)

The above login method applies only when you need to access a Jira server or datacenter type instances. The above has little or no effect on cloud instance and will work normally.

Directory