An open API service indexing awesome lists of open source software.

https://github.com/progm/node-trello-github-hook

A github hook to sync trello card's checklist items with github issues.
https://github.com/progm/node-trello-github-hook

Last synced: 8 months ago
JSON representation

A github hook to sync trello card's checklist items with github issues.

Awesome Lists containing this project

README

          

Node Github Webhook for Trello
=====================

A github hook that creates a checklist element in a trello card when an issue with a specific name is created on github.

For example:

* You have a card on trello with ID=ABCDE.
* You create an issue that contains [ABCDE] in it's title
* The webhook automatically generates a checklist on the Trello card, with the issue name.
* When the issue is closed, the webhook will mark that issue as done on Trello.

## How it works
Simply setup three ENVs, that contains TRELLO KEYS:

```bash
TRELLO_KEY=
TRELLO_SECRET=
TRELLO_TOKEN=
```

To obtain those data, please refer to the documentation of this module:

https://github.com/adunkman/node-trello

## Intelligent Bookmarks
Save this bookmark to open a new issue related to a trello card.

To make it work, simply go to you trello board, open the card you want to refer and click the bookmark. A new issue page will be opened for you.

```javascript
javascript:window.open(encodeURI("https://github.com/YOUR_NAME/YOUR_REPO/issues/new?title=[" + window.location.href.split("/")[4] + "]&body=\n\n\n----\nRefers to " + window.location.href))
```

## TODO

* Refactor
* Improve checklist checks