Get Issue Context
get_issue_contextRetrieve complete issue context including body, notes, related merge requests, and linked issues in a single call.
Instructions
Bundle issue body, all notes (paginated up to maxNotes), related merge requests (mentioning), closing merge requests, linked issues (relates_to/blocks/is_blocked_by) into a single call. Use this instead of fanning out across get_issues + get_notes + search_merge_requests when investigating an issue.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Full project path (e.g. "my-group/my-project") | |
| iid | Yes | Issue IID (the number shown in the GitLab UI) | |
| maxNotes | No | Cap on notes fetched. Default 100. | |
| includeSystemNotes | No | Include system-generated notes (label changes, assignment events). Default false. | |
| userCredentials | No | Your GitLab credentials (optional — falls back to the configured env token if not provided) |