Jars aren't the best for long term storage as they can develope mold after time.

I've only experienced it with outdoor strains so it may just be the bud being predisposed to shit in the air before being put in a jar, but to be on the safe side I don't store my bud in a jar or container for more than a week.