Inside the ticket details page, click on the three-dotted icon->select the 'Edit ticket details' option to edit the subject of the ticket as shown below: