I had a similar situation recently where I had to take some percocets due to kidney stones. It was like a holiday from U.C. for a day. Completely calmed things down and took away all the pain. I went all day without going to the bathroom.
Sadly as others have pointed out, it is NOT a long term solution due to potential opiate addiction and dangerous side effects, like toxic megacolon.
Nice while it lasted though.