In this paper, we provide, in the setting of geodesic spaces, a unified treatment of some convex minimization problems, which allows for a better understanding and, in some cases, improvement of results proved recently in this direction. For this purpose, we analyze the asymptotic behavior of compositions of finitely many firmly nonexpansive mappings focusing on asymptotic regularity and convergence results.