UTI and poop issues

I have a uti. I also am having a hard time pooping. Are those directly connected? Or is it something I should be worried about?