This script turns your Trello cards which represent your story cards with user stories into sprint cards.
The script assumes that your trello card is in a particular format. The description of the card should be in the following form:
User Story Title (Points for Story)
---
- Bulleted list of acceptance criteria
- More criteria
- More criteria
Another User Story Title (Points for Story)
---
- Acceptance Criteria
- More criteria
- More criteria
The card must be in the above form or weird things may happen.
When the script is run, the title of the user story is converted into the title of a sprint card with the acceptance criteria turned into a checklist.
Make sure you have ruby 2.2.2 installed to use the script. You will also need the Ruby Trello gem.
To install, clone this repository and run
$ bundle install
Then you are ready to go!
In order to use your script you must have the proper API keys. The script will read your API keys from the environment, the following variables must be present for the script to run.
DEV_KEY
- represents the developers public keyMEMEBER_KEY
- represents the members key
More information about these keys can be found in the gem that make it all possible, Ruby Trello
Then run the script using
$ ./sprintify
and follow the steps as prompted to have you story cards changed into sprint cards.
- Make sure the correct format is in the description of the story cards
- Any dashes in the description (-) will be stripped out so avoid using them unless they represent a markdown bullet point
Special thanks to Jeremy Tregunna for developing the Ruby Trello gem which made this super easy.