0.01
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Calculates cycle time from cards on a trello board
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

trello-cycletime

Calculates cycle time from cards on a trello board

Build Status

##Introduction

This gem contains a class that can be used for calculating cycle time from cards on a trello board

##Installation

The package is installed on rubygems and can be installed using the following command

gem install 'TrelloCycleTime'

or adding the following to your Gemfile

gem 'TrelloCycleTime'

##Example

require 'TrelloCycleTime'

trello_cycle_time = AgileTrello::TrelloCycleTime.new(
    public_key: 'aPublickey',
    access_token: 'anAccessToken'
)

MY_BOARD_ID = '5aJf2ZMz'

average_cycle_time = trello_cycle_time.get(
    board_id: MY_BOARD_ID,
    start_list: 'In Progress',
    end_list: 'Ready for Release'
)

puts average_cycle_time.mean

##Trello Gotchas You can get the access_token key by going to this url in your browser: https://trello.com/1/authorize?key=YOUR_PUBLIC_KEY&name=YOUR_APP_NAME&response_type=token&scope=read,write,account&expiration=never

Your board id is included in the board uri e.g. in the uri https://trello.com/b/Fwrt4xH5/myBoard the id is Fwrt4xH5