/my-little-ticket

Ticket Manager

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

My Little Ticket 🎫

Build Status Coverage Status

A dashboard for interrupt tickets that makes it simple to pick the most important ticket to work on.

My-Little-Ticket screenshot

This is currently under active development and not ready for production.

Quickstart

virtualenv venv -p python3
source venv/bin/activate
cp examples/local_settings.py my_little_ticket/
pip install -e .
pip install -r requirements.txt
./manage.py migrate
./manage.py migrate --run-syncdb
./manage.py createsuperuser
./manage.py runserver
# Go to http://127.0.0.1:8000/admin and create a "board" and a "source"

Configuration

See local_settings.

Using Docker

docker build . -t my_little_ticket
docker run --rm -it -p 8000:8000  \
    --name=my_little_ticket \
    --volume=examples/local_settings.py:/opt/mlt/my_little_ticket/local_settings.py \
    my_little_ticket

Authentication

This project uses django-allauth.

API

Simply go to /swagger/ or /api/ to see what can be done. No much so far.

Plugins

Strategies

A strategy is a way to score and organize tickets on a board. Check base.py and default.py for an example. You'll need to implement only a few functions.

And add it to your settings.py:

MLT_STRATEGIES = [
   ...
    'my_module.MyStrategy',
]

Plugins

A plugin is a way to fetch ticket from a source. Currently this project can only tickets from JIRA and Trello, but you can easilly create your own plugin, take a look at base.py and jira to know more.

MLT_PLUGINS = [
    ...
    'my_module.MyPlugin'
]