Project

General

Profile

Actions

Defect #22195

closed

Creating an issue with the API in a project without trackers give a wrong error message

Added by Alexandre Lessard almost 9 years ago. Updated over 8 years ago.

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

0%

Estimated time:
Resolution:
Duplicate
Affected version:

Description

Due to a configuration error, my project was created without trackers and when I use the api to create new issues in it, I received the error message "Project cannot be blank". This error message misled me into thinking I had a problem with the project_id, but it was only that I had no trackers to use for my issue.

Is it possible to had a better error message? like "No trackers associated with the Project" and maybe look into other possible things that could cause the same issue.

Thanks


Related issues

Is duplicate of Redmine - Defect #22638: creating with REST API new issue on a project without any tracker enabled return misleading error messageNew

Actions
Actions #1

Updated by Toshi MARUYAMA over 8 years ago

  • Category changed from Issues to REST API
Actions #2

Updated by Go MAEDA over 8 years ago

  • Status changed from New to Closed
  • Resolution set to Duplicate

#22638 has more details. Closing as a duplicate of that.
Thanks for reporting.

Actions #3

Updated by Go MAEDA over 8 years ago

  • Is duplicate of Defect #22638: creating with REST API new issue on a project without any tracker enabled return misleading error message added
Actions

Also available in: Atom PDF