Table of Contents

GitLab Tool Adapter

Operations catalogue mapping for GitLab tracker, source control, and merge requests.

Operations catalogue

OperationGitLab command
Read repository metadatamagpie-gitlab repo get <project>
Read issue bodymagpie-gitlab issue get <project> <issue_iid>
List issuesmagpie-gitlab issue list <project>
List MRsmagpie-gitlab mr list <project>
Read MRmagpie-gitlab mr get <project> <mr_iid>
MR Diffmagpie-gitlab mr diff <project> <mr_iid>
MR Commitsmagpie-gitlab mr commits <project> <mr_iid>
List MR Pipelinesmagpie-gitlab mr pipelines <project> <mr_iid>
CI Pipeline Statusmagpie-gitlab pipeline status <project> <pipeline_id>

Options and flags

  • --limit <int>: Cap the total number of items returned for paginated endpoints (issue list, mr list, mr diff, mr commits, mr pipelines). Automatically calculates and requests only the required number of pages (ceil(limit / 100)).
  • --state <choice>: Filter items by state:
    • For issue list: opened (default), closed, all.
    • For mr list: opened (default), closed, locked, merged, all.

Confidentiality

Confidentiality Note: Never log personal access tokens. All payload bodies are handled purely in memory and output in JSON format.