If your rabbit has a lot of calcium sediment in the urine, I would suggest sticking with lower calcium veg for now. So leafy lettuces(not iceberg) and cilantro, etc. You can also look on the list below for the calcium content in veggies. Having milky urine doesn't necessarily indicate a problem yet. It's normal for rabbits to excrete excess calcium in the urine. However, consistently having to excrete excessive amounts of calcium could overly tax the kidneys, possibly leading to kidney or bladder problems in the future. Or if the cloudy urine is currently also thick and creamy, pasty, or gritty, that is a sign of a health issue called bladder sludge, which would need to be addressed immediately.
https://rabbit.org/lowering-blood-calcium/
And as asked, what type of pellets and hay? Also amount of pellets fed each day, amount of hay consumed per day(compared to the size of your rabbits body), weight of your rabbit and is your rabbit currently a healthy body weight(not too skinny, not too fat)?
The poop sticking is another separate health issue. If it's the round fecal poop sticking, that could be due to irritation in the digestive tract causing there to be a sticky mucous coating on the fecal poop. This can be caused by excess sugars/carbs in the diet, like the carrot or sometimes too many pellets and not enough fiber from hay.
But if it's the cecals that are sticking, and more particularly if they're coming out pasty and improperly formed, this is called cecal dysbiosis. Most often this is caused by an improper balance in the diet of too many carbs/sugars from treats or pellets. Usually this can be corrected by eliminating all sugary treats like carrots. Sometimes also reducing pellet amounts is necessary so hay consumption is increased(hay always free fed). In more severe or long standing cases of cecal dysbiosis, cutting back temporarily to a free fed hay only diet(ensuring hay is being eaten very well, and also offer a salt lick) is necessary to help restore the microbial balance in the rabbits digestive tract.
https://rabbit.org/intermittent-soft-cecotropes-in-rabbits/
https://rabbit.org/disorders-of-the-cecum/
https://bunssb.org/bunnies/guide-bunny-poops/