When is it time to ask for a raise in your own HR role?

When is it time to ask for a raise in your own HR role?

I've been angling for a raise, but I think I need to be more assertive. When is a good time to ask, and what projects do you use to highlight your accomplishments that your boss acknowledged as raise-worthy?