forked from cgaspard/mantiskanban
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config-sample.js
52 lines (42 loc) · 1.81 KB
/
config-sample.js
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
/// Point to the location of your server
Mantis.ConnectURL = "http://mantis.server.com/api/soap/mantisconnect.php";
/// Set this to the hostname of your server
/// If you have mantis running inside a directory, you'll need to add that on as well.
/// This field is used to build links like this http://mantis.server.com/view.php?id=847
Mantis.ServerHostname = "mantis.server.com";
/// The default filter to use when loading a projects issues
/// If you leave this null, mantis will load whatever the last filter you used when you logged into the php site.
Mantis.DefaultFilterID = "0";
/// Use this value if you want to load additional closed issues, in addition to all the other statuses. A good use for this is to load open issues
/// with DefaultFilterID, and load certain number of recently closed issues with these parameters.
Mantis.ClosedIssuesFilterID = "0";
/// How many issues should the call to the ClosedIssueFilterID return
Kanban.NumberOfClosedMessagesToLoad = 10;
/// This is the default project to be selected
Mantis.CurrentProjectSelection = "0";
/// When a project has a custom field, you can specify mantis statuses to change to when entering this bucket
Kanban.AutoStatusOnCustomField = {
"ScrumBucket" : {
"Backlog" : "10", // New
"Sprint" : "30", // Acknowledged
"Current" : "50", // Assigned
"Complete" : "80", // Resolved
"Testing" : "80",
"Tested" : "80",
"Release" : "90" // Closed
}
}
/// Use this to set default icons for categories
Kanban.CategoryIconMap = {
"Bug" : "info-sign",
"Task" : "calendar",
"Feature" : "star"
}
/// This is used to just define the Default Settings object, this info gets saved to local storage for next login
var DefaultSettings = {
username:"",
stayLoggedIn:1,
lastAccessTime:0,
autoResizeColumns : true,
currentProject:Mantis.CurrentProjectSelection
};