Coder Social home page Coder Social logo

agile-reporting-api's Introduction

agile-reporting-api

At the moment this service posts data to a postgres database.

##requirements:

  • Vagrant
  • Virtualbox
  • git

##Environment Variables

The following environment variables need to be set:

##How to run

git clone https://github.com/mooreandrew/agile-reporting-api.git
cd agile-reporting-api
vagrant up
vagrant ssh
cd /vagrant
source ~/venvs/scrum-progress/bin/activate
source environment.sh
pip install -r requirements.txt
export trello_api_key="key here"
export trello_api_secret="secret here"
export trello_token="token here"
./run.sh

##How to use

To check if the application is running, go to:

http://localhost:5001/

This should return a response of "Ok"

To get a list of compatible tools:

http://localhost:5001/tools

This will return a list with an id of the tool (e.g. trello)

To return all of trello's projects:

http://localhost:5001/projects/trello

This will return a list of all projects in that tool.

Using the id of one of the projects to return all the sprints:

http://localhost:5001/sprints/trello/547703b1284f36366cd6c182

This returns a list of all identified sprints in the tool

Using the sprint we can now extract all the stories from that sprint:

http://localhost:5001/stories/trello/547703b1284f36366cd6c182/15

modules

Currently there is only a module for Trello. This has the following functions:

  • init() - Will make a connection to the api
  • get_project_list() - Returns a list of projects in the tool
  • get_sprints(project_id) - Return all the sprints for that project in the tool
  • get_story_list(project_id, sprint) - Return all the stories for that project/sprint in the tool

New modules need to follow this format with the same functions and argument count.

Issues

  • This currently only supports Trello lists which are named "Sprint ## - Done". You can also replace Done with Backlog and Doing

agile-reporting-api's People

Contributors

mooreandrew avatar

Watchers

 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.