Defect #30332
closedAPI Post new Issue, Custom Fields mandatory
0%
Description
Hi - Sorry if this bug has alread been submitted - Tried to find it, but the Redmine Search returns over 1000 results for defects with keyword "API".
Also this issue might be already solved because I have an older version of 3.3.1
Thanks,
M
I think I found a bug in the API.
Here is my setup:
I have a project with 2 different trackers. These trackers have different mandatory custom fields.
e.g.
Project A - Tracker X has the custom fields A1, A2 and A3. All three a mandatory.
Project A - Tracker Y has the custom fields A1, A2 and A4. All three a mandatory. (Doesn't really matter in this)
The thing is A3 is mandatory, but not existing in Tracker Y.
Tracker X is the default Tracker of the project.
If I add an issue via the API for Tracker Y I cannot, because I get the error message that A3 is mandator (but it does not even exist in this Tracker Y).
For now I simly made the field A3 not mandatory and without changing the XML I can add the issue with POST.
Updated by Marides W over 6 years ago
Sorry I made a mistake, and was too quick to report a bug - Please delete.
Updated by Marius BĂLTEANU over 6 years ago
- Status changed from New to Closed
- Resolution set to Invalid