Page 1 of 1

[RESOLVED] How to get active user in bug?

Posted: 19 Oct 2012, 16:26
by Lisandro1987
I'm using the function of MantisBT 'email_bug_reminder' to send reminders to users. The function has an user parameter: $p_recipients. Is an array of users (to send the reminders).

So I need a function of MantisBT that return the users that is active in a bug (who create the ticket, who is assigned to, who is monitoring, who write a note, etc)? Is that possible?

Re: How to get active user in bug?

Posted: 21 Oct 2012, 09:52
by atrol
Have a look at function email_collect_recipients in file core/email_api.php

Re: How to get active user in bug?

Posted: 22 Oct 2012, 15:42
by Lisandro1987
Thanks so much! I create my own function powered with that function ;)