1924, "defiled with excrement," from shit (n.) + -y (2). The older adjective was shitten.
Entries linking to shitty
shit n.
Middle English shit "diarrhea," from Old English scitte "purging, diarrhea," from source of shit (v.). The general sense of "excrement" dates from 1580s (Old English had scytel, Middle English shitel for "dung, excrement;" the usual 14c. noun for natural discharges of the bodies of men or beasts seems to have been turd or filth). As an exclamation attested in print by 1920 but certainly older. Use for "obnoxious person" is by 1508; meaning "misfortune, trouble" is attested from 1937.
Shit-faced "drunk" is 1960s student slang; shit list is from 1942. Shit-hole is by 1937 as "rectum," by 1969 in reference to undesirable locations. Shitload (also shit-load) for "a great many" is by 1970. Shitticism is Robert Frost's word for scatological writing.
Up shit creek "in trouble" is by 1868 in a South Carolina context (compare the metaphoric salt river, of which it perhaps a coarse variant). Slang not give a shit "not care" is by 1922. Pessimistic expression same shit different day is attested by 1989. To get (one's) shit together "manage ones affairs" is by 1969. Emphatic shit out of luck is by 1942.
The expression when the shit hits the fan "alluding to a moment of crisis or its disastrous consequences" [OED] is attested by 1967.
The expression is related to, and may well derive from, an old joke. A man in a crowded bar needed to defecate but couldn't find a bathroom, so he went upstairs and used a hole in the floor. Returning, he found everyone had gone except the bartender, who was cowering behind the bar. When the man asked what had happened, the bartender replied, 'Where were you when the shit hit the fan?' [Hugh Rawson, "Wicked Words," 1989]
-y 2
adjective suffix, "full of or characterized by," from Old English -ig, from Proto-Germanic *-iga- (source also of Dutch, Danish, German -ig, Gothic -egs), from PIE -(i)ko-, adjectival suffix, cognate with elements in Greek -ikos, Latin -icus (see -ic). Originally added to nouns in Old English; used from 13c. with verbs, and by 15c. even with other adjectives (for example crispy). Adjectives such as hugy, vasty are artificial words that exist for the sake of poetical metrics.
shitten adj.
"defiled with excrement," late 14c., past-participle adjective from shit (v.). From 1540s in transferred sense of "very unpleasant."