It's possible that:
* It's a regional expression: The phrase might be used in a specific location or among a certain group of people, where it has a specific meaning.
* It's a misheard phrase: Perhaps you heard a similar phrase like "just the ticket" or "just the thing" and it got slightly altered in your memory.
* It's a made-up phrase: Someone might have created the phrase for a specific purpose or context.
If you can provide more context about where you heard this phrase, it might be easier to determine its origin and meaning.