Hi,
Is there any function from the api which I can get all the Parent Projects?
If yes please let me know and if no how about in DB?
Thanks
Get all parent project
Moderators: Developer, Contributor
Re: Get all parent project
If no api, for reference :
SELECT * FROM mantis_project_table as a
WHERE id NOT IN (SELECT child_id FROM mantis_project_hierarchy_table)
AND enabled = 1
SELECT * FROM mantis_project_table as a
WHERE id NOT IN (SELECT child_id FROM mantis_project_hierarchy_table)
AND enabled = 1