There's a number of reasons for juniper foliage to yellow.
Shading is one. Thinning the foliage or wiring to allow more sun to access interior is one way of alleviating that. Entire inner shoots turning yellow is an indicator.
Like all other species juniper foliage only lives for a limited time, probably 2-4 years but that may vary with species and climate. As individual needles get too old to be useful they die, turn yellow and eventually drop off. If the lowest interior foliage is turning yellow in spring and summer this is the likely cause.
Lack of water and/or nutrients and other stress can also cause foliage to yellow. As resources decline the tree turns off parts in order to survive. They usually 'choose' to get rid of weaker and inner parts and keep the more useful healthier outer areas and branch tips. Again, entire small branches will be the first to go. Repotting is another stress that can sometimes trigger this foliage drop.
If you are providing good care and the yellowing is moderate I don't think the tree is in danger. You may get away with some thinning and wiring now but I'd be more inclined to wait because of the recent repot. You can always style later around reduced foliage but more work could just push it past the point of no return in which case you won't have any choices.