I just exchanged my Ultegra 11-27 cassette with a 11-32 XT cassette and Ultegra RD for an XT RD for the exact same reasons. I was having some knee pain and the 32 in the rear allows me to spin rather than grind up
the hills. I highly recommend this as converting back to the Ultegra RD and cassette is an easy switchback.