The standard puzzle of this kind works with three jugs of capacity 8, 5 and 3 liters.
writes that this particular puzzle "dates back to mediaeval times" and notes its occurrence in Bachet's 17th-century mathematics textbook.