creating and posting ticket