Fixed error of hard coded state list, but getting the list of the valid states in the system.
Fixed error of hard coded state list, but getting the list of the valid states in the system.

djoudi/otrs-gitimport-test,djoudi/otrs-gitimport-test,djoudi/otrs-gitimport-test