Skip to content

benjamine/ScrumyCLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scrumy CLI

Command line interface for simple batch tasks on http://scrumy.com boards.

Scrumy.com is a website that offers online scrum boards (sprint backlogs).

ScrumyCLI could be used for:

  • Querying the current sprint (filtering by story title, task title, state or scrumer)
  • Perform some batch changes on the filtered results:
    • Add a task to each story
    • Set task scrumer
    • Set task state
    • Add text to task title
    • Remove task

Note: ScrumyCLI uses scrumy.com REST API, which at the moment of this writing, doesn't support realtime notifications, so after doing modifications to your current sprint with this tool, you have to Refresh to see them on your browser.

I'm not related to scrumy.com, I wrote this tool to simplify some batch tasks we do (at http://www.tercerplaneta.com) on CI:

  • Add a "Test" task to each story
    # add a "Test" task to each story that doesn't have it already
    node scrumycli.js -b myboard -t Test -E --addtask Test
  • After a successfull build to QA, mark "Test" tasks in the verify column as "QA" (using scrumer name)
    # mark all tasks with title "Test" in the "verify" column as ready in QA (scrumer name "QA")
    node scrumycli.js -b myboard -t Test -s verify --setscrumer QA

Requirements

  • NodeJS 0.6+ (with npm)
  • In order to access the scrumy.com REST API you need to register a PRO Project board on http://scrumy.com

Installation

git clone https://benjamine@github.com/benjamine/ScrumyCLI.git
cd ScrumyCLI
npm install

Usage

For instructions run:

scrumycli --help

or:

node scrumycli.js --help

output:

  Usage: scrumycli.js [options]

  Options:

    -h, --help                      output usage information
    -V, --version                   output the version number
    -b, --board <name>              Scrumy board name
    -p, --pwd <password>            Password
    -v, --verbose                   Print debug info
    -o, --output <filename>         Send output to file
    -e, --empty                     include stories without tasks (after filters)
    -E, --onlyempty                 include only stories without tasks (after filters)
    -s, --state <state>             Filter tasks by state (todo|inprogress|verify|done)
    -S, --scrumer <scrumername>     Filter tasks by scrumer name (regex, case insensitive)
    -t, --title <tasktitle>         Filter tasks by title (regex, case insensitive)
    -T, --storytitle <storytitle>   Filter stories by title (regex, case insensitive)
    -a, --addtask <tasktitle>       Add a task to filtered stories
    --addtotitle <text>             Add text to filtered tasks titles
    --addtaskscrumer <scrumername>  Scrumer for added tasks
    --addtaskstate <state>          State for added tasks
    --setstate <state>              Set state of filtered tasks
    --setscrumer <scrumername>      Set scrumer of filtered tasks
    -r, --remove                    Remove filtered tasks

Note: if scrumy password is not specified as a command argument it will be prompted on the command line.

License

(The MIT License)

Copyright (c) 2012 Benjamín Eidelman <beneidel@gmail.com>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

CLI for simple batch tasks on scrumy.com boards

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published