GithubHelp home page GithubHelp logo

pivotal2scrumdo's Introduction

This python script takes 3 commandline arguments: 
1. PivotalTracker .CSV export filename 
2. filename prefix for .XLS output
3. Desired operation. possible operations are:
   a. 'writexls': takes the pivotaltracker.com .CSV export and outputs a series of .XLS Excel files meant to be imported for each distinct iteration in ScrumDo. this can be used with both a local ScrumDo install as well as the hosted service offered on scrumdo.com.
   b. 'sprints': outputs a listing of sprints deduced from the Pivotal export. and, if database is configured, attempts to update the start/end dates for sprints carrying matching names in the scrumdo database.
   c. 'printmembers': prints a digest of members listed in the exported stories. it is up for the user to create accounts for all these users so that their comments and story bindings could be tied to them.
   d. 'insextra': directly accesses the scrumdo database and injects story tasks, users/creators and comments. stories/users that were not succesfully located are complained about in stdout.

configuration is stored in p2sd.json and is quite self explanatory. currently it sets script output debug level as well as database settings for the part that writes directly to database.


due to the script's incomplete and fragmented nature, here are the rough steps for moving pivotal data into scrumdo:

* create all participating users manually in scrumdo. users are matched by concat(first_name,' ',last_name) so be sure to adjust them in auth_user

* create all nescessary iterations manually in scrumdo

* dump pivotal .csv via Project -> Export CSV at pivotaltracker.com

* before every import attempt:
$ echo 'delete from projects_story;' | mysql -u$MYSQLUSER -P$MYSqLPORT -h$MYSQLHOST $SCRUMDODB

* this generates the .xls files from the pivotal dump
./p2sd.py ~/pivotalproject_...csv scg writexls

* write a configuration into p2sd.json with the scrumdo database access tools

* manually create the iteration definitions in the scrumdo database

* update the sprint dates, yikes.
./p2sd.py ~/pivotalproject_...csv scg sprints

* get a list of user accounts to create in order to succesfully import all user context info, and create them in scrumdo
./p2sd.py ~/pivotalproject_...csv scg printmembers

* do the import in scrumdo via the web interface by going through each iteration and clicking the 'Import Iteration' link on the right hand menu under 'Iteration Tools'.

* this inserts comments,tasks straight into the db & set story assignees
./p2sd.py ~/pivotalproject_...csv someprefix insextra

pivotal2scrumdo's People

Contributors

guyromm avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

scrumdollc

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.