Page 1 of 1

Multiple unassignment

Posted: 30 Sep 2019, 08:32
by Asura
Hi,

I have a problem, my need is to be able to unassign tickets by the multiple selection, i've seen it to be possible to reassign to no one for just one ticket a time with standard editing like this :
Image

and i tried by modifiying "bug_actiongroup_page.php" and adding an

Code: Select all

echo '<option value="0"></option>';
just before the function, just like this :

Code: Select all

case 'ASSIGN':
	echo '<option value="0"></option>';
	print_assign_to_option_list( 0, $t_project_id );
	break;
it somehow managed to make the list look like the other one in the standard editing :
Image

but whenever i try to assign the ticket to this null option i get this error message :
Image

Do someone know either how to fix this or how to make it happen in another way?

Best regards.

Re: Multiple unassignment

Posted: 30 Sep 2019, 12:05
by cas
I would suggest to add an option "UnAssign" , see the notes on custom_group_actions within config_defaults_inc.php.
This way you ensure there is no need to change standard programs.

Re: Multiple unassignment

Posted: 08 Nov 2019, 11:13
by TerranceM
Adding "UnAssign" option will work for you. Changing the default program can rellay prove risky.