jobsworth

noun

An official who sticks rigidly to petty rules, even when it helps no one.