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.
- Host: GitHub
- URL: https://github.com/progm/node-trello-github-hook
- Owner: ProGM
- License: mit
- Created: 2016-02-18T10:54:26.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-11-02T10:40:20.000Z (over 9 years ago)
- Last Synced: 2025-06-17T02:42:14.007Z (about 1 year ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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