Is there a way to call bug_report_page.php (to submit a new ticket) with URL query parameters in order to pre-fill certain fields? Often a user will report an issue with our software via our forum and then an administrator has to separately go into Mantis and copy relevant details from the post. It would be nice if our forum software could have a button for administrators which calls a URL to have some of those details already set up. I don't think we can use the REST API as we don't have data for the mandatory fields.
Something like [a href="hxxps://mantis.mywebsite.com/bug_report_page.php?summary=the_forum_posts_title&additional_information=forum_post_id_12345"]
I suspect we could write a new PHP page/file which interfaces to the bug_report_page.php logic somehow, preferably without touching the official Mantis code at all, but just wondering if there already is a feature like this that I've missed.
Thanks.
Call bug_report_page.php with query params to pre-fill form?
Moderators: Developer, Contributor
Re: Call bug_report_page.php with query params to pre-fill form?
There is a development to introduce a simple screen issue entry where your customers only have to fill in a minimal data set. Then customers are more willing to use that form and you would not need anything else.
If you are interested I can share a few screenshots
If you are interested I can share a few screenshots

Re: Call bug_report_page.php with query params to pre-fill form?
That works
Code: Select all
https://www.mantisbt.org/bugs/bug_report_page.php?summary=Hello&additional_info=Additional
Re: Call bug_report_page.php with query params to pre-fill form?
Ooh, sounds interesting. I'm very wary of customers submitting nonsense though, whether maliciously or "not a bug". Do these issues go into a kind of holding pattern until a proper use comes along and either approves or rejects them?
Re: Call bug_report_page.php with query params to pre-fill form?
Oh,atrol wrote: ↑16 Dec 2022, 08:49That works
There are also configuration parameters, check the Amdin Guide for that, e. g. there is $g_default_bug_additional_info (and some more)Code: Select all
https://www.mantisbt.org/bugs/bug_report_page.php?summary=Hello&additional_info=Additional

Re: Call bug_report_page.php with query params to pre-fill form?
One could ensure they first get into a special project where someone can judge the reported issues before they are taken too seriously

Re: Call bug_report_page.php with query params to pre-fill form?
By the way, you could also use the email_reporting plugin. One of the features is doing something similar
All reported so-called issues go into a project from where you can do your review.
All reported so-called issues go into a project from where you can do your review.