Melissa Anelli, who interviewed J. K. Rowling for "The Leaky Cauldron", revealed the following:
"I still don't know how we got on the topic, but Jo said that she is a tremendous WEST WING fan. Although in retrospect, and comparing writing styles, this seems a natural and unsurprising fact, nothing on this great wide earth could have made me happier, as I love that show with a passion, and admire Aaron Sorkin's writing almost as much as I do Jo's. She waxed on about him, and how intense his life must have been, to write those shows the way he does."
(Above link includes spoilers for the new Harry Potter book)