Now that trello has added custom labes, we can use these to drive some interesting reporting. At eLife we use trello for managing sprints. I was interested in seeing how much of our development effort is split between bugfixing, enhancements and new development, and that is what this script is for.
Requirements are listed in the requirements.txt
file, but primarily this script relies on the [py-trello](https://github.com/sarumont/py-trello)
client.
py-trello
comes with a util.py
function for running through the
authentication process with trello to get a token. You will need
to set you TRELLO_API_KEY and TRELLO_API_SECRET as environemnt
variables first. After you have set these enviornment variables you can
get authentication tokens for the script by running
$ python trello/uitl.py
set environemnt variables for
TRELLO_API_KEY
TRELLO_API_SECRET
TRELLO_OAUTH_TOKEN
TRELLO_OAUTH_SECRET
Once all enviornment variables have been set then you can run reports via
$ python my_trello_access.py
I've created a todo list for this project on the following trello board: https://trello.com/b/Uii9iVR4/project-trello-reporting