Some crazy unexplained stuff has been happenig and I figured out why. When relating a ticket to another in a different department, the child ticket inherits the parent's department and thus that department's custom field. I don't know if this is a feature or a bug, but it started happening with build 3167.
To reproduce:
-
Create Department1 and Department2
-
Assign Default Ticket Template to Department1
-
Create a custom Ticket Template called Template2
-
Assign Template2 to Department2
-
Create CustomField2 and assign it to Template2 only
-
Create a Ticket1 and assign it to Department1 (leave the custom fields blank for now)
-
Create a Ticket2 and assign it to Department2 (enter a value for CustomField2)
-
View Ticket 2 and verify Custom Fields value.
-
View Ticket1 and enter Ticket2 as a Related Item
-
Go back and View Ticket2 Custom Fields
You will see that the Custom Fields in Ticket2 now has the fielfds from the Default Ticket Template. It also becomes Closed and remains in Department2
Now break the relationship. The ticket will become Active and be transferred to Department 1
Reassigning to Department2 will bring back CustomField2 as originally created.
How can I relate a one ticket to another from a different department and maintain the 2nd departments properties and assignment for that child ticket?