#MantisKanban - expanded by alorenc
###Version by Corey Gaspard (oryginal)
- stable : https://github.com/cgaspard/mantiskanban (master)
- LIVE DEMO!!! http://mantiskanban.com/mantisbt/mantiskanban/
###Version by e-doceo
- operating : https://github.com/e-doceo/mantiskanban (master)
###Version by Artur Lorenc: This is the original version of Corey Gaspard, extended by a change of e-doceo. Further developed by Artur Lorenc:
- The corrected errors
- Standardization code
- Tested only on MantisBT 2.0
- Further developed According To Their Own ideas and applications
JS Configuration: config.js
// 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;
Mantis.TaskListField = "TaskList";
// The default name for the custom field containg split column of Mantis (ScrumBucket)
Kanban._listIDField = "ScrumBucket";
// Default name category
Kanban.DefaultCategory = "General";
// Scrum Mode - default switch
Kanban.ScrumMode = "Review";
// Scrum default Status
Kanban.ScrumDefaultStatus = "Backlog";
// Scrum Steps
Kanban.ScrumSteps = {
"Backlog" : true,
"AnalysisPlaning" : true,
"SprintBacklog" : true,
"InProgress" : true,
"Testing" : true,
"Implementation" : true,
"Relase" : true
};
// Backlog|AnalysisPlaning|SprintBacklog| InProgress| Testing | Implementation | Relase
Kanban.ScrumModes = {
"Review" : {
"SprintBacklog" : true,
"InProgress" : true,
"Testing" : true,
"Implementation" : true,
"Relase" : true
},
"Planif" : {
"Backlog" : true,
"AnalysisPlaning" : true,
"SprintBacklog" : true
}
};
// When a project has a custom field, you can specify mantis statuses to change to when entering this bucket
Kanban.AutoStatusOnCustomField = {
"ScrumBucket" : {
"Backlog" : "10",
"AnalysisPlaning" : "20",
"SprintBacklog" : "30",
"InProgress" : "70",
"Testing" : "80",
"Implementation" : "80",
"Relase" : "90"
}
};
// Use this to set default icons for categories
Kanban.CategoryIconMap = {
"Bug" : "fire text-danger"
};
// 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,
connectURL : Mantis.ConnectURL,
FiltersUsers : [], //id users filters default
FiltersPriority : [], //weight priority default
FiltersSeverity : [] //weight severity default
};
// Maintaining user sessions when not active for the specified number of minutes
Kanban.InactiveSessionTimeUserInMinutes = 30; // minuts
// List of Installed Themes should be here
Kanban.Themes = [
{name : "Default", stylesheet : "themes/default.css"},
{name : "Green", stylesheet : "themes/green.css"},
{name : "Trello", stylesheet : "themes/trello.css"}
];
##Mantis Configuration:
Scrum Buckets:
If you want to define custom buckets, then in mantis go to Manage > ManageCustomFields.
Then add a field called "ScrumBucket" of type "List" with whatever possible values you want. Be sure to seperate the
value with "|" like this: Backlog|AnalysisPlaning|SprintBacklog|InProgress|Testing|Implementation|Relase
(or Backlog|Sprint|Current|Design|CodeComplete|Testing|Release, It requires changes to the file config.js)
Next you need to associate the custom field with whatever project you want to have it show up on.
TaskList:
If you want to define custom Task List, then in mantis go to Manage > ManageCustomFields.
Then add a field called "TaskList" of type "String" with whatever possible values you want.
Set options (In its sole discretion): "Add to Filter" and "Display When": Reporting Issues, Updating Issues, Resolving Issues, Closing Issues
Next you need to associate the custom field with whatever project you want to have it show up on.
Default Filter:
You need to setup a filter for project issues. If you don't, then Mantis will deliver all issues. When you
have closed many issues, you will notice the speed greatly decreases.
##Screenshots:
Full Screen:
Edit Story:
ScrumBucket Switch: Planing/Daily:
Full translation (eg Polish language):
Filtres: User, Prioritiy, Severity, MantisFilters
Mantis Statuses as Buckets: