We're updating our terminology in Jira

'Issue' is changing to 'work item'. You might notice some inconsistencies while this big change takes place.

GitLab を Jira と統合する

Connecting your GitLab account to Jira means your team can view their development activity in the context of the Jira work items they’re working on - no need to switch between tools. When a Jira work item key is referenced in a commit, branch, or merge request in GitLab, the Jira work item will update automatically to show the latest development information.

If you set up a CI/CD pipeline in GitLab, Jira will also show build and deployment information on your Jira work items, on the board, on the deployments timeline, and in the Releases hub. Learn more about integrating deployments with Jira.

GitLab アカウントを Jiraに接続する

GitLab Marketplace アプリをインストールする

  1. Atlassian Marketplace に進んで GitLab.com for Jira Cloud アプリをインストールします。

  2. アプリをインストールしたら [アプリを管理] リンクをクリックします。アプリが Jira サイトにすでにインストールされている場合は、Jira にログインして [設定] アイコン > [アプリ] > [アプリを管理] の順に選択します。

GitLab 名前スペースを Jira に追加する

  1. Jira の [アプリを管理] ページで、GitLab for Jira アプリの詳細を展開して [開始] を選択します。

  2. [名前スペースを追加] を選択します。

  3. GitLab プロジェクトの名前スペースを選択または入力します。プロジェクトの URL が https://gitlab.com/mynamespace/new-project の場合、名前空間は mynamespace です

Jira 統合を GitLab でセットアップする

  1. GitLab.com アカウントにログインします。

  2. プロジェクトに移動して [設定] > [統合] の順に選択します。

  3. [統合を追加] で [Jira] を選択します。

  4. Jira サイトの詳細を次のように入力します。

    1. Web URL - Jira サイトの URL (例: https://myjirasite.atlassian.net)

    2. ユーザー名またはメール アドレス - Jira プロファイルに登録されているユーザー名またはメール アドレス。

    3. パスワードまたは API トークン - API トークンを作成してクリップボードにコピーし、ペーストします。Atlassian アカウントの API トークンの管理に関する詳細についてご確認ください。

  5. [テスト設定] を選択して、接続が機能しているかどうかを確認します。

  6. [変更を保存] を選択します。 

Add Jira work item keys in your commits, branches, and merge requests

To link your team’s development activity to Jira, start including work item keys in commit messages, branch names, and merge request titles. Learn more about referencing work items in your development work.

GitLab Jira 統合の動画デモをご覧ください。

CI/CD パイプラインを GitLab でセットアップする

  1. GitLab.com アカウントにログインします。

  2. プロジェクトに移動して [CI/CD] > [Pipelines] の順に選択します。

  3. パイプラインを含む .gitlab-ci.yml ファイルを作成します。

  4. deploy ステージを追加して環境を設定します。GitLab の環境設定に関する詳細についてご確認ください。

To send build and deployment information from GitLab to Jira, your team must include Jira work item keys in their commit messages and branch names. Whenever a pipeline runs in GitLab, the integration will look for Jira work item keys in the branch name and commit messages. If it finds work item keys, it will send build and deployment information to Jira. This information will be shown in the development panel on your team’s Jira work items, on the board, on the Deployments timeline, and in the Releases hub.

さらにヘルプが必要ですか?

アトラシアン コミュニティをご利用ください。