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

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
iame
Posts: 16
Joined: 01 Sep 2023, 02:00

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

Post 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?
atrol
Site Admin
Posts: 8378
Joined: 26 Mar 2008, 21:37
Location: Germany

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

Post 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
Please use Search before posting and read the Manual
Post Reply