View Issue Details

IDProjectCategoryView StatusLast Update
0014716Plugin - TasksGeneralpublic2023-03-25 12:03
Reportercas Assigned Tocas  
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionopen 
Summary0014716: Tasks version 2.40 released
Description

New functionality is that one can assign a task to a group of users.
For this another plugin has been created called Usergroups.
The option to assign to a person remains available.
Upon assigning a task, members of the group will be notified (if configured).
Each user within the group will see the task on his/her My View page.
The users that completes the task is registered seperately.

Additional Information

There is no upgrade feature (yet) so be carefull implementing.
It requires adding 2 integer fields (Size 11) to be added to the Tasks_defined table (task_completed_by & task_group)

TagsNo tags attached.
Attached Files
Tasks240.zip (78,985 bytes)
Usergroups1.11.zip (9,428 bytes)
Usergroups120.zip (12,457 bytes)
bug1.png (72,005 bytes)   
bug1.png (72,005 bytes)   
bug2.png (38,270 bytes)   
bug2.png (38,270 bytes)   
Tasks245.zip (73,027 bytes)
usergroup.PNG (68,649 bytes)   
usergroup.PNG (68,649 bytes)   
usergroup - users.PNG (41,351 bytes)   
usergroup - users.PNG (41,351 bytes)   
tasks.PNG (67,537 bytes)   
tasks.PNG (67,537 bytes)   
task_group.png (2,847 bytes)   
task_group.png (2,847 bytes)   
tasks to groups.PNG (61,976 bytes)   
tasks to groups.PNG (61,976 bytes)   
report issue.PNG (58,102 bytes)   
report issue.PNG (58,102 bytes)   

Activities

AdamR

AdamR

2013-01-22 12:18

reporter   ~0034864

Last edited: 2013-01-22 12:19

I might be missing something, but where does this plug-in show itself exactly?

I followed the instructions in 'install.txt', and "My Tasks" shows up in the menu fine. I've also configured it in the management section (made categories too).

How do we create and manage tasks?

Edit: Also managing task categories returns a 404 error, though the management action (adding, editing, or deleting a category) does happen.

cas

cas

2013-01-23 04:06

reporter   ~0034869

Last edited: 2013-01-23 04:08

It should show up when viewing the issue.
Make sure the correct event is activated, check the docs for this. There is a section discussing this.
I was planning to release 2.43 but will review documentaion before doing so.

AdamR

AdamR

2013-01-23 04:24

reporter   ~0034870

Last edited: 2013-01-23 04:34

Got it, sorry I didn't notice I needed to uncomment a couple of lines :)

I do have a feature request: Would it be possible to have a task list unlined to an issue ID?

The idea being a project can have a task/to-do list not directly related to an issue, that other users in the project can see/comment on. Such entries could include purchasing a new dedicated server, implementing a feature that isn't an issue, arrange test sessions for an RC, or a general reminder to do something. This would probably go best in the My Tasks page, though the page would probably need to be renamed to just Tasks.

Edit: Reported both 404 errors, 0015412, 0015413.

cas

cas

2013-01-24 14:42

reporter   ~0034889

I answered both 15412/15413.
As for your feature request, that will not be possible in current setup.
However, you can achieve this behaviour by creating a placeholder issue, if needed within a separate project.

AdamR

AdamR

2013-01-25 09:48

reporter   ~0034915

OK, I'll set a sticky place holder issue for this. :)

Also not sure if this is issue worthy, but the Usergroups plug-in appears to be limited to 10 characters for a group name. Is this intentional? (I tried "Programmers" and "Model artists")

cas

cas

2013-01-25 14:23

reporter   ~0034917

Yep, the field is only 10 but can easily be extended.
For now, you could do that direct on the DB, future version I will extend the field length.

AresScorpio

AresScorpio

2013-03-26 19:38

reporter   ~0035971

Hy, i tried installing this nice plugin but i can't find any view where i can add new tasks threshold for adding new tasks is developer when i log into my manager account i can't add a task...

cas

cas

2013-03-27 07:17

reporter   ~0035973

Did you follow the documentation?
Depending on the settings you may have to adjust one of the mantis scripts.
Please review clearly the docs/install.txt
In the same directory you find an image of how it looks.
This shows up when viewing a bug (if followed instructions).

AresScorpio

AresScorpio

2013-03-27 07:57

reporter   ~0035974

hi cas thx for your fast answer!
yes i do follow the documentation
i added the two lines in config_inc.php
trigert the event in my_view_page.php
and added the two events int core/bug_api.php
i can see the MyTasks tab, but i can't add any tasks not under my tasks
and not while viewing a bug...

i have installed this theme... is this causing the problem?
http://www.mantisbt.org/forums/viewtopic.php?f=4&t=20126

cas

cas

2013-03-27 10:10

reporter   ~0035979

Default possible deviates from the documentation.
If that is what is happening, you need to follow this instruction:
You need to position the following line somewhere in bug_view_inc.php.
Search the line holding "# User list monitoring the bug" around line 686 and add the following line just before:
event_signal( 'EVENT_VIEW_BUG_DETAILS2', array( $tpl_bug_id ) );

cas

cas

2013-03-27 10:13

reporter   ~0035980

I have made some adjustments to this module which I can post here if people are interested:
Validate users in group against various thresholds
Added time registration option for each task
When adding tasks, mail can be send to group mail address
Only when configured within the Usergroups module
Only when email address available
Seperated check on Resolving and Closing issues

AresScorpio

AresScorpio

2013-03-27 15:00

reporter   ~0035982

Hi cas, this helped alot. Maybe you could add this line to the documentation. This would help beginners alot. I'm very interested in your configuration in this file and would be very happy to see what you have modified there.

I also installed the UserGroups plugin but i fail to add new groups. I see the mask to add new groups but when i click on add nothing happens, i checked the database there is nothing in the tables related to the plugin.

cas

cas

2013-03-28 03:18

reporter   ~0035986

It looks like tables are not created. Please create manually using phpmyadmin.
I will see if I can replay this.
Here is the sql to make it happen:
CREATE TABLE IF NOT EXISTS mantis_plugin_usergroups_groups_table (
group_id int(10) unsigned NOT NULL AUTO_INCREMENT,
group_name varchar(25) DEFAULT NULL,
group_desc varchar(50) DEFAULT NULL,
group_mail varchar(50) NOT NULL,
PRIMARY KEY (group_id)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
CREATE TABLE IF NOT EXISTS mantis_plugin_usergroups_usergroup_table (
ugroup_id int(10) unsigned NOT NULL AUTO_INCREMENT,
user_id int(11) DEFAULT NULL,
group_id int(11) DEFAULT NULL,
PRIMARY KEY (ugroup_id)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

AresScorpio

AresScorpio

2013-03-28 07:33

reporter   ~0035990

no those tables were created...
but the table names missed the beginning "mantis"
and the usergroups_groups_table missed the group_mail entry... i added this entry (as well as i tried your code to generate the tables) then i added a new group with no effekt.... both tables stayed empty

cas

cas

2013-03-28 10:07

reporter   ~0035991

Remove tables, de-install plugin and remove it.
Now load version 1.11 as attached.

cas

cas

2014-03-04 11:28

reporter   ~0039615

Added an updated vesrion of the usergroup plugin. It brings more functionality to the management section like:
Memberlist overview
Option to add users in bulk to a group
Option to delete group members

Zazzarim

Zazzarim

2014-03-07 06:10

reporter   ~0039629

Does Usergroups only works with tasks from Task-plugin or is it possible to assign a bug to a user group?

cas

cas

2014-03-09 16:10

reporter   ~0039634

For now only with tasks

Ivaylo

Ivaylo

2014-03-17 05:24

reporter   ~0039676

Hello, Cas. I've installed your Usergroup plugin, I can add a new group, but I still can't assign any issue to this group.

cas

cas

2014-03-17 06:36

reporter   ~0039678

@ the moment you can only assign tasks to an usergroup

Ivaylo

Ivaylo

2014-03-17 06:49

reporter   ~0039680

yes, ok, I've added members to group, but I can't see the name of the usergroup in assign selectbox

cas

cas

2014-03-17 07:00

reporter   ~0039682

Can you add a printscreen of the task section?

Ivaylo

Ivaylo

2014-03-17 07:12

reporter   ~0039683

Yes, its done

cas

cas

2014-03-17 07:36

reporter   ~0039684

Have uploaded Tasks version 2.45 which fixes the bug with the table creation.
Please delete tables first and then re-install the plugin.

In addition you need to configure the tasks plugin to use the usergroup module.
Within the config switch on "Assign Tasks to Groups"

rmendoza

rmendoza

2014-05-12 11:07

reporter   ~0040264

Hello cas! I upgraded to the version 2.45 and switch on "Assign Tasks to Groups" but I can't see the name of the usergroup in assign selectbox.

Can you help me?

Thanks!

cas

cas

2014-05-12 11:14

reporter   ~0040265

You also activated the usergroup plugin and added groups to the system?
Did you also made persons member of such groups?
If all of the above is yes, please add some print-screens so I can investigate further.

rmendoza

rmendoza

2014-05-12 11:36

reporter   ~0040266

Yes, I already did all that.

I added some print screen so you can see it.

cas

cas

2014-05-13 03:07

reporter   ~0040270

In that case you may not have configured the Task module to allow for usergroup assignment, see image.

rmendoza

rmendoza

2014-05-13 08:39

reporter   ~0040275

Yes, I have. That's the problem.

Do you have another idea?

Thanks!

cas

cas

2014-05-13 10:31

reporter   ~0040277

Automated tasks cannot (yet) be assigned to a usergroup, only tasks that are manually issued from within the issue itself. I assume it wiorks ok from within the issue itself?
Do you have the need to assign also the automated tasks to a usergroup?

rmendoza

rmendoza

2014-05-13 11:09

reporter   ~0040278

No, I can't assign tasks to groups from the report issue. I attached a print screen showing that.

About automated tasks: no, I don´t need assign them to a usergroup. Only from manually issued is ok.

Am I doing something wrong?

Thanks!

cas

cas

2014-05-14 03:58

reporter   ~0040280

First of all, you cannot assign the issue to a usergroup, only tasks can be given to a usergroup. In the documentation it is explained how you can get the task section within the issue page.
Once you have activated the task section, you will notice the option to assign a task either to an individual or to a group.

rmendoza

rmendoza

2014-05-14 13:19

reporter   ~0040282

I don't had activated the task section. I activated it as follows:

"In that case, you need to position the following line somewhere in bug_view_inc.php.
Search the line holding "# User list monitoring the bug" around line 686 and add the following line just before:
event_signal( 'EVENT_VIEW_BUG_DETAILS2', array( $tpl_bug_id ) );"

It worked!

Thanks!

boardhead360

boardhead360

2017-01-18 16:45

reporter   ~0055220

Hello CAS,
I've installed the Tasks plugin with Mantis 1.3.5. I fudged the MantisCore numbers to get the install link. The Plugin config tool gives me an error for Automated settings, seem to work for the other two screen.
I see the My Tasks menu, but the list is empty as I haven't created and Tasks.
I go to the report issue screen, and seen nothing that allows me to create a task. Am I missing something basic here, or is the plugin not working correctly?
Thanks for your time

Tasks4.png (28,463 bytes)   
Tasks4.png (28,463 bytes)   
Tasks1.png (30,741 bytes)   
Tasks1.png (30,741 bytes)   
Tasks2.png (8,130 bytes)   
Tasks2.png (8,130 bytes)   
Tasks3.png (5,975 bytes)   
Tasks3.png (5,975 bytes)   
cas

cas

2017-01-21 13:02

reporter   ~0055251

Last edited: 2017-01-21 13:07

Hi Boardhead360,
not sure what the problem is.
Currently I am reviewing the plugin for version 2.0, have not been working really on the 1.3 series.
What is the error message you get?

boardhead360

boardhead360

2017-01-21 14:34

reporter   ~0055252

Hi Cas,
thanks for getting back. I guess I'm not clear on the mechanism for creating/entering a task, as I don't see an option to do so under Report Issue.
If you feel that I should upgrade directly to 2.0, then let me know and I will do that.

cas

cas

2017-01-22 04:37

reporter   ~0055254

If you are starting with Mantis, I would suggest to go with Mantis version 2

rajae

rajae

2017-05-18 10:27

reporter   ~0056891

test de la version 2.1

syedjh_s

syedjh_s

2019-06-24 03:23

reporter   ~0062302

Hi Cas,
I've tried to install this plugin in my Mantis:- "mantisbt-2.21.0", but it is not working and it show under 'outdated dependencies' category.
What is the possible solution, kindly suggest or provide me solution.
I'm attaching the screenshot for your future reference

mantis_usergroup.png (138,608 bytes)   
mantis_usergroup.png (138,608 bytes)   
cas

cas

2019-06-25 11:05

reporter   ~0062317

The plugins you are using are not working in version 2 of mantis.
You require Task version 3.x and usergroups version 2.x

syedjh_s

syedjh_s

2019-06-26 00:54

reporter   ~0062318

Last edited: 2019-06-26 02:32

Hi, Cas,
thanks for responding back. I did'nt getting those version in you're forum, if you dont mind can you share any download link here

syedjh_s

syedjh_s

2019-07-01 03:52

reporter   ~0062345

Last edited: 2019-07-01 03:59

Hi, Cas,
I once again gone through with your forum, i could not able to find Task 3.x version & usergroup 2.x version from anywhere. Kindly share the link or package of Task & usergroup.

Thanks in advance.

cas

cas

2019-07-01 09:55

reporter   ~0062347

Here they are. Will release an update on the tasks plugin shortly since I discovered some minor issues.

Tasks.301.zip (122,793 bytes)
Usergroups.202.zip (13,161 bytes)
syedjh_s

syedjh_s

2019-07-08 06:58

reporter   ~0062366

Last edited: 2019-07-08 07:00

Hi Cas,

Thanks for providing those plugins.

I got fatal error while installing Task plugin, like:

"APPLICATION ERROR # 2503

Upgrading the plugin schema failed in block # 2.

Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section."

Many of the readme mentioned file, functions, etc., is not available:
some i mentioned below
"print_recently_visited();"
"include ( 'account_prefs_inc.php' );"
print_bug_page.php is aslo not available in MantisBT 2.21.0.

I am holding my update untill you release the comptable version.

pdario

pdario

2019-12-11 09:27

reporter   ~0063248

Hello, I'm sorry, but I'm a bit lost in this thread: I'm using Mantis 2.5, can I use the two zips poster above?
Is there any instructions for installation?

Thank you!

cas

cas

2019-12-11 11:34

reporter   ~0063251

Installation is like any other plugin

pdario

pdario

2019-12-11 11:44

reporter   ~0063252

Should I use the two zips here? Is there any URL to find them updated?

cas

cas

2019-12-12 03:23

reporter   ~0063257

Yes, use the 2 zips here, more support via my website ( see readme)

pdario

pdario

2019-12-12 05:20

reporter   ~0063260

Hello, I'm sorry, but I can't understand how to procede; after unzippinng Tasks in plugin directory, I tried this


  • Installation *

    Add the following line in config_inc.php:
    $g_tasks_show_menu = OFF;
    In OFF position, Open tasks are shown under My View
    Do ensure to define a signal in my_view_page.php.
    Then add the following line right after "print_recently_visited();"
    event_signal( 'EVENT_MYVIEW' );
    In ON position, a menu item will appear named "My tasks".

But... What does it mean "Do ensure to define a signal in my_view_page.php."?
Plus "print_recently_visited();" is not in my_view_page.php, I find it in core/print_api.php.

Can you please help?

cas

cas

2019-12-12 05:46

reporter   ~0063261

In general plugins depend on so called event signals in the standard code of Mantisbt.
However the required event signals for this plugin do not yet exist in the code, therefore they need to be added ( for some functionality).
In principal you can start without making changes.
Just set $g_tasks_show_menu to ON and do not yet implement checks on status Resolved & Closed.

Fernando Sorensen

Fernando Sorensen

2020-04-06 10:06

reporter   ~0063827

I'm trying to install plugin version 3.01 in Mantis:

MantisBT 2.23.0 / Schema 210 / PHP 7.4.1 / Database mysqli / Database version 10.4.11, 10.4.11-MariaDB

And also got t "APPLICATION ERROR # 2503 / Upgrading the plugin schema failed in block # 0"

The UserGroups plugins install fine ¿what i'm missing? I'v already add the $g_tasks_show_menu = ON; so i don't need to do any more in order to install it.

cas

cas

2023-03-25 12:03

reporter   ~0067568

Future support via https://github.com/mantisbt-plugins