Skip to content

VarnaLab/slack-incoming-trello

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

slack-incoming-trello

Slack Incoming WebHook for Trello

CLI

node slack-incoming-trello/bin/ \
  --auth auth.json \
  --slack slack.json \
  --fields fields.json \
  --target target.json \
  --env development

auth.json

{
  "development": {
    "trello": {
      "app": {
        "key": "",
        "secret": ""
      },
      "user": {
        "token": "",
        "secret": ""
      }
    }
  }
}

slack.json

{
  "development": [
    {
      "url": "https://hooks.slack.com/...",
      "username": "",
      "icon_url": "",
      "channel": "#general"
    },
    {
      "url": "https://hooks.slack.com/...",
      "username": "",
      "icon_url": "",
      "channel": "@slackbot"
    }
  ]
}

The username, icon_url and channel keys are optional and take effect only if the hook is a Custom Integration. These 3 keys have no effect for bundled OAuth Apps.

fields.json

{
  "development": {
    "board": {
      "filter": "open"
    },
    "action": {
      "filter": [
        "addAttachmentToCard",
        "commentCard",
        "updateBoard",
        "updateCard",
        "updateCheckItemStateOnCard",
        "updateList"
      ],
      "since": 0
    }
  }
}

target.json

{
  "development": {
    "org": {
      "id": "[ID]"
    }
  }
}

About

Slack Incoming WebHook for Trello

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%