REST API: How to set field "fixed_in_version" to empty?

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
eternalstorms
Posts: 4
Joined: 31 Jan 2019, 12:28
Location: Vienna, Austria
Contact:

REST API: How to set field "fixed_in_version" to empty?

Post by eternalstorms »

Hi all,

I have a question regarding MantisBT's REST API.
How can I set the fixed_in_version field back to empty, once it's set?
I've tried passing an empty dictionary ("fixed_in_version" : {}), tried nulling it ("fixed_in_version" : "<null>" / "fixed_in_version" = {"id" : "<null>"} etc) and setting it to empty values ("fixed_in_version" : {"id" : "", "name" : ""}), but to no avail, the fixed_in_version field retains the value that was set before.

Thank you for any help and pointers!
- Matt
Matt
Founder & Developer of Eternal Storms Software (https://eternalstorms.at)

using MantisBT v2.18.0 (vanilla)
eternalstorms
Posts: 4
Joined: 31 Jan 2019, 12:28
Location: Vienna, Austria
Contact:

Re: REST API: How to set field "fixed_in_version" to empty?

Post by eternalstorms »

any help would be highly appreciated.
Is this just not possible yet, or am I missing something in the API?
Matt
Founder & Developer of Eternal Storms Software (https://eternalstorms.at)

using MantisBT v2.18.0 (vanilla)
cas
Posts: 1616
Joined: 11 Mar 2006, 16:08
Contact:

Re: REST API: How to set field "fixed_in_version" to empty?

Post by cas »

This sounds like a possible bug so go to http://mantisbt.org/bugs
atrol
Site Admin
Posts: 8375
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: REST API: How to set field "fixed_in_version" to empty?

Post by atrol »

Please use Search before posting and read the Manual
eternalstorms
Posts: 4
Joined: 31 Jan 2019, 12:28
Location: Vienna, Austria
Contact:

Re: REST API: How to set field "fixed_in_version" to empty?

Post by eternalstorms »

atrol wrote: 05 Feb 2019, 07:52 There is already https://www.mantisbt.org/bugs/view.php?id=25407
yup, that's mine ;)
Matt
Founder & Developer of Eternal Storms Software (https://eternalstorms.at)

using MantisBT v2.18.0 (vanilla)
Post Reply