trekin
A npm library that connects Trello to kintone.
Installation
Use the package manager npm to install trekin.
npm i trekin
Sample
Please read this repository.
https://github.com/korosuke613/trekin-sample
Supported Trello events
- createCard
- updateCard
- copyCard
- createList
- updateList
- createLabel
- updateLabel
- addLabelToCard
- removeLabelFromCard
- addMemberToCard
- removeMemberFromCard
- commentCard
Usage
Instantiation Trekin
; ;
Storing Trello events in Objects
Turn Trello's webhook response into an object.
;
Post Trello events to kintone
;console.info"Operation\n" + JSON.stringifyresult;
Post kintone events to Trello
;console.info"Post operation\n" + JSON.stringifypostResult;
Setting of trekin
Exclude Card
Trekin support Card exclusion settings. If all the conditions enclosed in braces are met, the event is skipped.
trekin.guardian.setting =;
- Card name is ⬆️27/09/2020, skip.
- Card name is Prepare for the event on 27/09/2020., not skip.
- Card name is This is createCard Test!!, skip.
Exclude option list
option | type | description |
---|---|---|
charactersOrLess | number | If the card name is less than or equal to the set value, exclude it. |
match | regexp | If the card name matches to the set regular expression, exclude it. |