From: http://www.bbc.co.uk/worldservice/learningenglish/language/2014/03/140313_todays_phrase_just_the_ticket.shtml

Just the ticket

A collection of tickets
Old tickets at the London Transport Museum

Today's Phrase

If you say something is just the ticket, it's exactly what you wanted or needed.
Examples:
These boots are just the ticket for our walking holiday in the Alps.
Jane said my low-fat cake was just the ticket for someone who's on a diet.

Take note

Big ticket items are things which are expensive to buy like cars, washing machines or fridges.
Example:
Now the sales have started it's a great time to buy some big ticket items at a good price.

Interesting fact

The most expensive ticket ever sold for an Olympic event was for the London 2012 Games. The £2,012 ticket was for the Opening Ceremony, according to Guinness World Records. Cheaper tickets for the event were also available for only £20!