HubSpot/import-trello-github

Name: import-trello-github

Owner: HubSpot

Description: Quick and dirty import Trello into GitHub issues

Forked from: RickyCook/import-trello-github

Created: 2016-04-08 18:42:48.0

Updated: 2016-04-08 18:42:49.0

Pushed: 2016-04-26 20:43:02.0

Homepage: null

Size: 17

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Trello to GitHub issues

Simple import of exported Trello cards into GitHub issues

Requirements
Label rewrites --labelmaps

The labelmaps argument takes a JSON file with any of the following keys:

Each of these will take the names described under them, and translate them to labels, or milestones as specified.

Example


"labels": {
    "Really Hard": {"label": "8 points"}
},
"lists": {
    "Done": { "state": "closed" },
    "Doing": { "label": ["in progress", "now"] },
    "Next Up": { "milestone": "alpha 4",
                 "label": "some label" },
    "Beta icebox": { "milestone": "beta" }
}

Example

For the Trello board at https://trello.com/b/zaFPjsli/dockci

mappings.json


"lists": {
    "Done": {"state": "closed" },
    "Doing": { "label": "in progress" },
    "Next Up": { "milestone": "alpha 4" },
    "Beta icebox": { "milestone": "beta" }
}


port-issues.py --loglevel DEBUG \
               --statedir state \
               --labelmaps mappings.json \
               trello.json rickycook dockci \
               my@email.com mypasswordhere

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.