A big part of it is "letting go" of the issue, too. After I post a question or submit an issue I just wait until I get a reply and go do something else, and that's often when the solution comes to me. It's similar to taking a shower or going for a walk in that regard.