Project

General

Profile

Actions

Defect #30332

closed

API Post new Issue, Custom Fields mandatory

Added by Marides W over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
REST API
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

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.

Actions #1

Updated by Marides W over 6 years ago

Sorry I made a mistake, and was too quick to report a bug - Please delete.

Actions #2

Updated by Marius BĂLTEANU over 6 years ago

  • Status changed from New to Closed
  • Resolution set to Invalid
Actions

Also available in: Atom PDF