/jira-traffic-light

Query Jira to generate a simple traffic light

Primary LanguagePythonOtherNOASSERTION

Jira Traffic Light

Make a simple traffic light system to monitor Jira helpdesk project queues.

Notes

This is written for Python 2 and uses the urllib, urlib2 and RPi.

You will need to create your own text file for conex.txt containing the link to your Jira implementation, your JQL which produces a list of all the tickets that you want to watch and the basic authorisation token which you need to access Jira. Details on generating this token can be found at http://stackoverflow.com/questions/15006705/how-to-use-basic-authentication-with-jira-rest-api-in-javascript

You will also need to create your own sound file for the sound notifications and add this in mp3 format to the sound folder.

Error response codes

To help spot issues with the traffic light error responses have been added

Red Flashing: HTTP error.

Yellow Flashing: JSON Parse error.