1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

[GitLab]とあるプロジェクトのすべてMR(マージリクエスト)の詳細情報をJSONで引き抜く方法

Last updated at Posted at 2024-04-06

これなに

GitLabのとあるプロジェクトにおける過去のMR(マージリクエスト)をJSONで手に入れておくためのシェル。自分のメモも兼ねてqittaにも残しておく。

背景

現在のプロジェクトはGitLabでコード管理をしているが、とあるインシデントの水平展開のため、過去のMRについて調査が必要なった際に全量が取りたくなり作成した。(当時はMRのタイトルでフィルタして利用した)

利用環境

  • Windows
エディション	Windows 10 Pro
バージョン	22H2
$ glab -v
glab version 1.37.0 (2024-03-07)
  • git(git bashを利用)
$ git -v
git version 2.37.0.windows.1

実際のシェル

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?