Hello Fellow Bug Coders,
So I currently have a function that will create a Mantis Ticket when called on, and it would make my life SO much easier if there was a way to GET the information from the pull down menu's in the Mantis GUI using REST API. For example, when creating a ticket if the possible options for 'category' were like ("MantisBT", "Documentation", "Software", etc.) is there a way to get that information? I.e., the possible values for what can be entered in.
I've searched for a while but can't find anything. Anything anyone is willing to advise me on is greatly appreciated.
Accessing Information from Mantis GUI via REST API
Moderators: Developer, Contributor
Re: Accessing Information from Mantis GUI via REST API
I'm not sure what you are exactly looking for, but you can retrieve the 'categories' for either
all projects (Get('.../projects/')) or a specific project (Get('.../projects/#')) over REST API.
The JSON response contains an (sub)array ('categories') for all requested projects.
all projects (Get('.../projects/')) or a specific project (Get('.../projects/#')) over REST API.
The JSON response contains an (sub)array ('categories') for all requested projects.