> For the complete documentation index, see [llms.txt](https://docs.flosum.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flosum.com/devops/devops-ja/she-ding/jira-tong-he/jira-no-1.md).

# Jira 統合の追加

{% hint style="warning" %}

#### 旧UI向けに作成

この記事は旧UI向けに作成されました。手順は今でも使用できますが、スクリーンショットは古くなっています。場合によっては、手順で参照されている項目が移動または変更されていることがあります。項目が見つからない場合は、 [どこに行ったのか](/devops/devops-ja/shii-uiux-heno/dokonittanoka.md) 記事。
{% endhint %}

## ![](https://225042527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2FG5ZbxX918xOHwbAwAJ4n%2FSummary2-Small-Icon.svg?alt=media\&token=da26a67f-ff7f-47b3-8669-06be960dc2d7) 概要

この記事では、JiraアカウントをDevOpsに接続し、課題のステータスを自動的に更新する方法を説明します。これにより、JiraワークフローがDevOpsにおける実際のデリバリー進捗と連携されます。

Jira接続を追加した後、以下の記事の手順に従って設定してください。

* [Jira 統合へのプロジェクト追加](/devops/devops-ja/she-ding/jira-tong-he/jira-henopurojekuto.md)
* [Jira プロジェクトの設定](/devops/devops-ja/she-ding/jira-tong-he/jira-purojekutono.md)

## Atlassian/Jira APIトークンの作成

{% stepper %}
{% step %}

### APIトークンページにアクセス

1. Jiraアカウントにログインします。
2. Atlassianにアクセス **アカウント設定**.

   <div align="left"><figure><img src="https://225042527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2FnnEH6QPcGUrQ89kCCvNJ%2FAddingAJiraIntegration-JiraToken-S01-01.png?alt=media&amp;token=f5a5e0bd-3f88-47a3-9c49-05df09c07960" alt="" width="563"><figcaption></figcaption></figure></div>
3. 次をクリックします： **セキュリティ** タブ。
4. 次をクリックします： **APIトークンを作成および管理する** リンク（ **APIトークン** セクション内）。

   <div align="left"><figure><img src="https://225042527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2F0avnO84SAFch0YlKrxwq%2FAddingAJiraIntegration-JiraToken-S01-02.png?alt=media&amp;token=20c591d8-f29f-4215-971a-fbd6b9566655" alt="" width="563"><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}

### APIトークンを作成

1. クリックします **APIトークンを作成**.

   <div align="left"><figure><img src="https://225042527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2FSrpDUrGUyDeeA3bZSNe5%2FAddingAJiraIntegration-JiraToken-S02-01.png?alt=media&amp;token=10db4fe7-189c-4519-a0a7-ed8d054aa38c" alt="" width="563"><figcaption></figcaption></figure></div>
2. 入力します： **名前** APIトークンの名前を入力します。
3. 次を選択します： **有効期限** トークンの有効期限の日付。
4. クリックします **作成**.

   <div align="left"><figure><img src="https://225042527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2FV2H18dJNqMBsOwm4Fv26%2FAddingAJiraIntegration-JiraToken-S02-02.png?alt=media&amp;token=3b2729a7-9aaf-4659-b487-23e806d2395e" alt="" width="563"><figcaption></figcaption></figure></div>
5. クリックします **コピー** をクリックして、 **APIトークン**をコピーし、安全な場所に保存します。このトークンは一度しか表示されず、復元できません。

{% hint style="info" %}
この **APIトークン** 作成したものは、DevOpsでJira連携を追加する際に使用されます。
{% endhint %}

6. クリックします **完了**.

   <div align="left"><figure><img src="https://225042527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2Fe8fDiS5zmgh0xZZlY5pj%2FAddingAJiraIntegration-JiraToken-S02-03.png?alt=media&amp;token=5205212b-8d60-4931-9231-9cc908d33b04" alt="" width="563"><figcaption></figcaption></figure></div>

{% endstep %}
{% endstepper %}

## Jira連携を追加

{% stepper %}
{% step %}

### 連携設定にアクセス

1. クリックします **設定** を左側のサイドバーメニューから選択します。
2. 次をクリックします： **連携** タブ。
3. クリックします **ユーザーストーリー連携**.

   <div align="left"><figure><img src="https://225042527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2FOYAt4jLXaU46uw9v9YHc%2FAddingAJiraIntegration-DevOps-S01-01.png?alt=media&amp;token=9c93dca5-80db-4bba-a54f-8a038712a900" alt="" width="563"><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}

### Jira連携を追加

1. クリックします **連携を追加**.

   <div align="left"><figure><img src="https://225042527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2Fh3ihJ3Y7PXbLeGIIXVal%2FAddingAJiraIntegration-DevOps-S02-01.png?alt=media&amp;token=e168ce99-ad0b-4a33-9c43-db156d1afd20" alt="" width="563"><figcaption></figcaption></figure></div>
2. 連携を説明する名前を次の項目に入力します： **名前** テキストボックス。
3. 次をクリックします： **サービスの種類** ドロップダウンメニュー。

   <div align="left"><figure><img src="https://225042527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2FqwhX80dq2rXcvTokAGGE%2FAddingAJiraIntegration-DevOps-S02-02.png?alt=media&amp;token=ef84dc27-a4b9-482a-a053-5d501722e50f" alt="" width="563"><figcaption></figcaption></figure></div>
4. 選択します **Jira**.

   <div align="left"><figure><img src="https://225042527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2FwHl7F7YSIepNmUB5EI2d%2FAddingAJiraIntegration-DevOps-S02-03.png?alt=media&amp;token=a4559c3a-6137-4a35-99fd-09e4a36f35c6" alt="" width="563"><figcaption></figcaption></figure></div>
5. 次をクリックします： **認証** ドロップダウンメニュー。
6. 選択します **基本認証**.

   <div align="left"><figure><img src="https://225042527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2F7dg8MV1z78gobkJckoUX%2FAddingAJiraIntegration-DevOps-S02-04.png?alt=media&amp;token=e59b8a14-3e23-49c0-94ce-2dfff142bc2d" alt="" width="563"><figcaption></figcaption></figure></div>
7. 次の項目に： **ユーザー名** テキストボックスに、上記のセクションでAPIトークンを作成したアカウントのJiraユーザー名を入力します。
8. 次の項目に： **パスワード/トークン** テキストボックスに、上記のセクションで作成したAtlassian APIトークンを入力します。
9. 次の項目に： **インスタンスURL** テキストボックスに、Atlassian/JiraインスタンスのURLを入力します。

   <div align="left"><figure><img src="https://225042527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2FGifTXgoXW8UtZerppW95%2FAddingAJiraIntegration-DevOps-S02-05.png?alt=media&amp;token=48c2ef59-4c17-4b2f-ac62-35d5e6a734a9" alt="" width="563"><figcaption></figcaption></figure></div>

{% hint style="info" %}

#### インスタンスURL

JiraインスタンスのURLは次の形式です `https://[company-domain].atlassian.net`。確認するには、Jiraにログイン中のブラウザーのアドレスバーを確認してください。

<img src="https://225042527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2FnK446oIaANoceK2PsUN2%2FAddingAJiraIntegration-DevOps-S02-06.png?alt=media&amp;token=30634415-e110-4cdb-a130-da62171c5dd0" alt="" data-size="original">
{% endhint %}

10. クリックします **連携を追加**.

    <div align="left"><figure><img src="https://225042527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2FDbeRr0JCEB2lV6PY4gpx%2FAddingAJiraIntegration-DevOps-S02-07.png?alt=media&amp;token=2a41581f-4456-45cc-bb70-54ec2adff770" alt="" width="563"><figcaption></figcaption></figure></div>
11. 追加すると、Jira連携が「連携」ページに一覧表示されます。

    <div align="left"><figure><img src="https://225042527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2Fmu8Fbmh6APzrNhwpVOG9%2FAddingAJiraIntegration-DevOps-S02-08.png?alt=media&amp;token=c8494e70-435d-4b12-a073-9e0376204f8c" alt="" width="563"><figcaption></figcaption></figure></div>

{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.flosum.com/devops/devops-ja/she-ding/jira-tong-he/jira-no-1.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
