Page 1 of 1

Multiple unassignment

Posted: Sep 30, 2019 3:32 am
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: Sep 30, 2019 7:05 am
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: Nov 08, 2019 6:13 am
by TerranceM
Adding "UnAssign" option will work for you. Changing the default program can rellay prove risky.