Skip to content

A CouchDB App for printing Story Cards from ScrumWise Backlog items

Notifications You must be signed in to change notification settings

p7s1digital/myvideo-wisetocard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wisetocard

A CouchDB App for printing Story Cards from ScrumWise Backlog items

Installation CouchApp

This is an out of the box couchapp development, so prepending you have couchapp installed, just type

cd [path_to_project]/app
couchapp push wisetocard

To deploy the app to your local couch db.

If you need couchapp, check this

Installation of the Sync

Right now the sync is expecting to have the couchdb on localhost named wisetocard.

Before starting the sync you will need to place a file called wisetocard.yml into the home directory of the user, that will run the sync. The yml should look like this:

scrumwise:
  username: user@company.com
  key: xxxxxxxxxxxxxxxxxx

You will find the key in the settings of your scrumwise project. If none exists, you can just create it there

The sync is implemented in Ruby, so you will need a ruby installed and the "httpclient" gem. Having prepared all this, you can run

ruby [path_to_project]/syncjob/updatewisetocard.rb

or make this run as a cronjob, i.e. each 10 minutes

Usage

Open a browser and put this into your addressbox http://127.0.0.1:5984/wisetocard/_design/wisetocard/_list/backlog/backlog Of course you will have to replace the Host.

Maintain Users

As the scrumwise api does not offer a userlist you need to maintain the users in the wisetocard database. Otherwise the userstories will contain an ID as author. You can maintain them by creating a document with the id 'usermap'. The content may look like:

{"_id":"usermap","_rev":"4-1d11557e0972b60da7bc77562ab1e424","49386-2-3":"Katha","42883-6-5":"Tom","19836-3-5":"Max"}

I bet you see the pattern.

You will find the ID in the storycards. After you added the field in the 'usermap' document, the next sync run will replace the ID and you will see the correct name in the story card.

About

A CouchDB App for printing Story Cards from ScrumWise Backlog items

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published