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
  • #9642

Closed
Open
Created Sep 18, 2015 by Administrator@rootOwner

API: Merge Request source_project_id is wrong

Created by: eddiemonge

Showing a merge request through the api gitlab.projects.merge_requests.show shows the wrong source_project_id. The following is an example from a forked repo submitting a MR back to the original repo

{
 id: 1042,
  iid: 417,
  project_id: 140,
  title: 'New Icons',
  description: 'New Icons',
  state: 'merged',
  created_at: '2015-04-01T18:40:09.749-07:00',
  updated_at: '2015-04-01T18:44:52.085-07:00',
  target_branch: 'master',
  source_branch: 'redesign-icons',
  upvotes: 0,
  downvotes: 0,
  author:
   { name: 'David',
     username: 'david',
     id: 89,
     state: 'active'
   },
  assignee: null,
  source_project_id: 140,
  target_project_id: 140,
  labels: [],
  work_in_progress: null,
  milestone: null
}
Assignee
Assign to
Time tracking