Closed (fixed)
Project:
Support Ticketing System
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Mar 2010 at 21:30 UTC
Updated:
6 May 2010 at 15:10 UTC
Jump to comment: Most recent
Comments
Comment #1
jeremy commentedThe only time state will change automatically is from "new" to "active" if the ticket is updated by a different user than created the ticket.
Comment #2
eft commentedThanks for the clarification Jeremy.
Comment #4
ptaff commentedFor those who wonder about that state change when a user modifies a ticket created by another user…
The 2nd state selection is made by the
_support_state_secondary()method insidesupport.module. Currently the rule is to pick the lowest-weighting state from the support_states database table where phase2 equals 1. So this picks the active state by default on installation.So to keep the ticket state to new even after modification by another user, without touching the codebase, this database query should work:
UPDATE support_states SET phase2=1 WHERE state='new';