It means to complete something that is unpleasant or something that you don't like doing. You don't enjoy doing the thing but you want the end result (or someone else does). I was applying for a visa this year and it was difficult and complex and I wanted to do something else.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.