freeze the branch field when closing ticket