3 messages in com.mysql.lists.eventum-usersRe: auto-associate emails become hidd...| From | Sent On | Attachments |
|---|---|---|
| German Pizarro | 18 Jun 2008 09:12 | |
| German Pizarro | 18 Jun 2008 14:31 | |
| German Pizarro | 18 Jun 2008 15:46 |
| Subject: | Re: auto-associate emails become hidden when issue is closed![]() |
|---|---|
| From: | German Pizarro (germ...@chile.com) |
| Date: | 06/18/2008 03:46:24 PM |
| List: | com.mysql.lists.eventum-users |
This is the code I implemented finally:
function handleNewEmail($prj_id, $issue_id, $message, $row = false, $closing = false) { $current_status_id = Issue::getStatusID($issue_id); $closed_status_id = Status::getStatusID('resuelto'); if ((!empty($closed_status_id)) && ($current_status_id == $closed_status_id)) { $open_status_id = Status::getStatusID('en proceso'); Issue::setStatus($issue_id, $open_status_id); } }
But notice that this applies to all projects in the instance.
Regards
I guess I should have searched further before asking...
http://lists.mysql.com/eventum-devel/253
http://lists.mysql.com/eventum-users/329 to http://lists.mysql.com/eventum-users/341 (September 15 2004)
Anyway, since this has been a common issue required by several users, I guess it should be included in Eventum by default.
Cheers
New emails create new issues. When reply-email is associated to issue, it stays hidden IF the issue is closed.
*How can I define a workflow in order to change the status of a closed issue to one of the open statuses when new email arrives (and is automatically associated to the closed issue)?*
Since closed issues usually are not displayed in the main list, when email with new data arrives and is auto-associated to closed issue, this new email is "hidden" (doesn't make it to the List Issues page).
One of two possible approachs are valid:
1. When new email arrives and the issue is closed, create new issue from that email.
2. When new email arrives and the issue is closed, change the status to some valid status.
Both of these will bring up the new email avoiding it to get lost, one of them should be implemented by default in Eventum, in the meanwhile, I'll be trying the workflow and report as feature request soon.
I was looking at the handleNewEmail() function, I think it might be the one to use, but not sure about the code to detect the issue is closed and the code to change the closed status to some other open-fixed-existing-status.
Best Regards
-- German Pizarro "I am not discouraged because every wrong attempt discarded is a step forward." M.T. --(+569-82117146)
----------------------------------------- Conéctate con Chile.com. http://www.chile.com/accesogratis/
-- Eventum Users Mailing List For list archives: http://lists.mysql.com/eventum-users To unsubscribe: http://lists.mysql.com/eventum-users?unsub=germ...@chile.com
-- German Pizarro "I am not discouraged because every wrong attempt discarded is a step forward." M.T. --(+569-82117146)
----------------------------------------- Conéctate con Chile.com. http://www.chile.com/accesogratis/
-- Eventum Users Mailing List For list archives: http://lists.mysql.com/eventum-users To unsubscribe: http://lists.mysql.com/eventum-users?unsub=germ...@chile.com
-- German Pizarro "I am not discouraged because every wrong attempt discarded is a step forward." M.T. --(+569-82117146)
----------------------------------------- Conéctate con Chile.com. http://www.chile.com/accesogratis/




