This repository has been archived by the owner on Oct 1, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
/
trello-hipchat.cfg.sample
53 lines (47 loc) · 1.74 KB
/
trello-hipchat.cfg.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Sample configuration file
# You need a Trello API key.
#
# Go here to generate an API key:
# https://trello.com/1/appKey/generate
# (the API secret is not needed).
TRELLO_API_KEY = "fill-in-as-explained-above"
# If you want trello-hipchat to access private boards,
# you need a OAuth token that authenticates an user that has read access to
# all the boards you want to monitor.
#
# Go here, substituting the trello API key in the URL:
# https://trello.com/1/authorize?response_type=token&key=[TRELLO_API_KEY]&scope=read&expiration=never&name=Trello-Hipchat
#
# If you don't want to access to private boards, just comment/remove the following line.
TRELLO_TOKEN = "fill-in-as-explained-above-or-delete-if-not-needed"
# You need a HipChat API token. Go here to generate one:
# https://[YOUR_GROUP].hipchat.com/admin/api
#
# Create a new Notification token, label it "Trello", and paste it here.
#
HIPCHAT_API_KEY = "fill-in-as-explained-above"
# List here the Trello boards that you want to monitor, giving them a descriptive
# name like in the example. Just visit the boards and get the board "code" from the URL.
BOARD_MAIN = "nC8QJJoZ"
BOARD_BRAINSTORMING = "vBqLThGO"
# List here the HipChat room IDs where you want to send notifications to.
# https://[YOUR_GROUP].hipchat.com/rooms/ids
ROOM_STAFF = "44444"
ROOM_DESIGNERS = "55555"
# This is the main configuration section. For each board, specify which lists
# you want to monitor, and which HipChat room notifications must be sent to.
# List names are specified with wildcars, so just use "*" to monitor all the lists.
MONITOR = [
( BOARD_MAIN,
{
"list_names": [ "Current", "Done*" ],
"room_id": ROOM_STAFF,
}
),
( BOARD_BRAINSTORMING,
{
"list_names": [ "*" ],
"room_id": ROOM_DESIGNERS,
}
),
]