Actions
Defect #26769
closedCreate issue does not allow for category_id
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
REST API
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Invalid
Affected version:
Description
When I create new issues via the API, no matter what I try, I cannot seem to get them to create with a properly assigned category.
I am including the category_id in the JSON post, and have tried string and integer values, but nothing seems to trigger the ID.
Environment: Redmine version 3.4.1.stable Ruby version 2.0.0-p598 (2014-11-13) [x86_64-linux] Rails version 4.2.8 Environment production Database adapter SQLServer SCM: Subversion 1.7.14 Git 1.8.3.1 Filesystem Redmine plugins: clipboard_image_paste 1.12 redmine_agile 1.4.4 redmine_checklists 3.1.5 redmine_contacts 4.1.1 redmine_contacts_helpdesk 3.0.8 redmine_embedded_video 0.0.3.1 redmine_lightbox2 0.3.2 redmine_login_attempts_limit 0.1.0 redmine_mentions 0.0.1 sidebar_hide 0.0.8
Updated by John Bolthouse over 7 years ago
- Status changed from New to Resolved
Turns out that I should check carefully about whether or not I have my properties in C# configured properly. Turns out serializers tend to ignore properties that have a scope of internal.
Sorry for the trouble.
Updated by Toshi MARUYAMA over 7 years ago
- Status changed from Resolved to Closed
- Resolution set to Invalid
Actions