Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #5498

Closed
Open
Created Oct 31, 2013 by Administrator@rootOwner

"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.

Assignee
Assign to
Time tracking