MantisKanban plugin not working
Moderators: Developer, Contributor
MantisKanban plugin not working
Hello, I am using Mantisbt 2.26.0, and I want to install MantisKanban plugin. The MantisKanban plugin requires jQuery 1.6.2.
Now I got the plugin from this link: https://github.com/thinksentient/MantisKanban, This plugin says it requires Core 1.2.0 and jQuery 1.6.2.
But I am using Core 2.26.0 and if I see the jQuery plugin from this link: https://github.com/mantisbt-plugins/jquery, This plugin says that the core should be 1.2.0 < 1.3. Now it's a deadlock for me. I shall be grateful if someone guides to me fix this thing.
Thanks in advance.
Now I got the plugin from this link: https://github.com/thinksentient/MantisKanban, This plugin says it requires Core 1.2.0 and jQuery 1.6.2.
But I am using Core 2.26.0 and if I see the jQuery plugin from this link: https://github.com/mantisbt-plugins/jquery, This plugin says that the core should be 1.2.0 < 1.3. Now it's a deadlock for me. I shall be grateful if someone guides to me fix this thing.
Thanks in advance.
- Attachments
-
- mantis-bt.png (75.81 KiB) Viewed 18594 times
Re: MantisKanban plugin not working
This is relative easy. That plugin will not run on Mantis 2.x. Having looked @ the code, it seems pretty easy to make it work on later versions of Mantis.
Re: MantisKanban plugin not working
Attached an initial version for Mantis 2x.
Will be published on Github shortly.
Review and provide feedback
Will be published on Github shortly.
Review and provide feedback
- Attachments
-
- MantisKanban2.zip
- (8.28 KiB) Downloaded 709 times
Re: MantisKanban plugin not working
Is there any documentation for how to set this up?*
I have some Groups created with distinct status(es) set for them, but all I see are the same tickets showing in every group instead of there being different tickets in each distinct group.
thanks!
* I installed Mantis Kanban Board 2.1.1 into a Mantis 2.27.0 environment
I have some Groups created with distinct status(es) set for them, but all I see are the same tickets showing in every group instead of there being different tickets in each distinct group.
thanks!
* I installed Mantis Kanban Board 2.1.1 into a Mantis 2.27.0 environment
Re: MantisKanban plugin not working
I made it work in Mantis 2.x but did not really added nice configuration pages.
As described in the readme, you can configure this inside a php-page (pages/kanban_page.php).
Around line 56, you will find the following code:
Here you can define your own set of columns and assiciated statusses.
Once done, save the script and there you are.
Hope this helps.
The plugin is working, it is managing the expectations
As described in the readme, you can configure this inside a php-page (pages/kanban_page.php).
Around line 56, you will find the following code:
Code: Select all
$columns = array(
'Backlog' => array('status' => 10),
'Assigned Backlog' => array('status' => array(50)),
'In Progress' => array('status' => array(30, 40)),
'Feedback' => array('status' => 20),
'Done' => array('status' => array(80)),
);
Once done, save the script and there you are.
Hope this helps.
The plugin is working, it is managing the expectations
Re: MantisKanban plugin not working
hmm. I played around with entries in the config table.
ignoring the groups that are supposed to have more than one set of tickets in them it does seem to work ok without changing code.
ignoring the groups that are supposed to have more than one set of tickets in them it does seem to work ok without changing code.
Code: Select all
MariaDB [bugtracker]> select * from mantis_plugin_MantisKanban_kanbangroups_table;
+----------+-------------+--------------+----------+
| group_id | group_title | group_status | order_id |
+----------+-------------+--------------+----------+
| 14 | Something | 20 | 99 |
| 18 | Assigned | 50 | 99 |
| 19 | Resolved | 80 | 99 |
| 20 | New | 10 | 10 |
| 21 | Closed | 90 | 99 |
| 22 | Finished | 80, 90 | 99 |
+----------+-------------+--------------+----------+
Re: MantisKanban plugin not working
Changing $filter_array in the kanban_page.php to the following fixes the problem about groups with more than one status not showing all relevant tickets.
Do you want me to make a pull request?
Do you want me to make a pull request?
Code: Select all
$filter_array = array(
'status' => explode(",", $row['group_status']),
'_view_type' => 'advanced',
'priority' => $t_filter['priority'],
'handler_id' => $t_filter['handler_id'],
);
Re: MantisKanban plugin not working
No need Kguest, I already applied the fix. Thanks for your improvement 
Re: MantisKanban plugin not working
Ive added a new improvement so that you can edit the details of a kanban group through the UI on an edit page instead of either updating the database directly or having to delete and then add the group details with the changes.
pr is at https://github.com/mantisbt-plugins/Man ... an/pull/18
pr is at https://github.com/mantisbt-plugins/Man ... an/pull/18