Project

General

Profile

Actions

Defect #22195

closed

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

Defect #22195: Creating an issue with the API in a project without trackers give a wrong error message

Added by Alexandre Lessard over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
REST API
Target version:
-
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 1 (1 open — 0 closed)

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

Updated by Toshi MARUYAMA over 10 years ago Actions #1

  • Category changed from Issues to REST API

Updated by Go MAEDA over 10 years ago Actions #2

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

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

Updated by Go MAEDA over 10 years ago Actions #3

  • 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: PDF Atom