adjusted automatic planned resource creation to work properly for templated tickets