"title" not given when using API
Created by: ccurvey
Summary: trying to use the API to create an issue, but receiving "title not provided", even though there is a title in the payload.
Version: 6-2stable
I'm trying to use https://github.com/neuhalje/hack-copy-track-issues-to-gitlab to convert my trac issues to gitlab.
I've gotten as far as being able to fire off the request to create the first issue. The URL that I'm using is
http://localhost:9090/api/v3/projects/2/issues?private_token=<obfuscated>
The json payload in the message is
{"labels": "enhancement,Infrastructure", "description": "on the summary pages, add some security for special users.", "closed": 1, "title": "create simple security for special audit"}
But it is returning
{"message":"400 (Bad request) \"title\" not given"}
Any help? I'm a Pythonista, so I can debug the script that's calling the API, but I don't speak Ruby, so I'd have some trouble trying to debug GitLab itself.