Page 1 of 1

Does Mantis's API get an issue only through bug id?

Posted: 15 Feb 2024, 09:02
by iame
Does Mantis's API get an issue only through bug id?
{{url}}/api/rest/issues/:issue_id

Can I use other fields as conditions?

Re: Does Mantis's API get an issue only through bug id?

Posted: 15 Feb 2024, 11:11
by atrol
Which other field do you want to use for it?
There is no other field in MantisBT that can be used as a primary key for an issue than the bud id, so any other field could deliver multiple issues.

Certainly not exactly what you are asking for, but might help some way.
You can get all issues matching a user defined filter given the filter id.

Code: Select all

{{url}}/api/rest/issues?filter_id=1&page_size=10&page=1&project_id=1