API - Ability to retrieve top-level namespace plan
Problem to solve
Currently it is only possible to get the plan for each namespaces individually via the API. So a subgroup will return plan: "null" even if its parent is on a paid plan. The only way to find the actual plan is then to fetch all the namespaces and go up the hierarchy via a recursive function to find the plan of the top-level ancestor.
This feature is needed to be able to know whether a user has access to some features (like issue weights for example).
Make subgroups inherit parent plan in list results and/or create a specific endpoint that would take care of finding out the top-level group's plan such as: