I can't get this to work. I've tried inviting my friend to a goal he hadn't even started, but when he chose to help me complete it, it just joined the goal for himself. He was the only one in his group, and I was the only one in my group, for the same goal. Every star I earned only counted toward MY goal.
It's clearly broken.