> 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/buranchiheno-jira-sutrno.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 統合でステータスマッピングを設定した組織にデプロイされるたびに、Jira ストーリーのステータスは自動的にマッピングされたステータスに更新されます。ステータスマッピングの仕組みの詳細については、次の記事を参照してください。

* [Jira 統合の概要](/devops/devops-ja/she-ding/jira-tong-he/jira-no.md)

## Jira ストーリーの追加

{% stepper %}
{% step %}

### ブランチを選択

1. 次をクリックします **コード** を左側のサイドバーメニューから。
2. Jira ストーリーを追加するブランチをクリックします。

   <div align="left"><figure><img src="https://225042527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2F2Auu5VoV1m2m7FOYmLop%2FAddingJiraStoriesToBranch-S01-01.png?alt=media&amp;token=31f79fb5-6932-46c9-8809-fc464987dc07" alt="" width="563"><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}

### ストーリーを追加

1. 次をクリックします **関連ストーリー** タブに表示されます。
2. 次をクリックします **ストーリーを追加**.

   <div align="left"><figure><img src="https://225042527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2FBVjzp7TdjRyKmPbTCSek%2FAddingJiraStoriesToBranch-S02-01.png?alt=media&amp;token=c4729ec4-2785-457e-a7d9-e4ce14593fb3" alt="" width="563"><figcaption></figcaption></figure></div>
3. 次をクリックします **統合** のドロップダウンメニュー。

   <div align="left"><figure><img src="https://225042527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2FxZZlFdZXceqPcvuHTcBs%2FAddingJiraStoriesToBranch-S02-02.png?alt=media&amp;token=8ac8d58b-e153-4395-821b-6f83a325abc5" 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%2FyUwvo2RBjkUjtyXnPUCH%2FAddingJiraStoriesToBranch-S02-03.png?alt=media&amp;token=d39dfb87-4b20-4ea3-b94e-a9220fa21759" alt="" width="563"><figcaption></figcaption></figure></div>
5. 次をクリックします **プロジェクト** のドロップダウンメニュー。
6. ストーリーを追加する Jira プロジェクトを選択します。

   <div align="left"><figure><img src="https://225042527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2FgIFPAQzcKrfIass2OuEQ%2FAddingJiraStoriesToBranch-S02-04.png?alt=media&amp;token=f5c7d911-0387-40ce-b58a-4b30870f4362" alt="" width="563"><figcaption></figcaption></figure></div>

{% hint style="info" %}
異なる Jira プロジェクトのストーリーを追加するには、このセクションの手順に従って、各プロジェクトのストーリーを個別に追加してください。
{% endhint %}

7. 次をクリックします **ストーリー** のドロップダウンメニュー。
8. このブランチに追加する各ストーリーを選択します。

   <div align="left"><figure><img src="https://225042527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2FY7YkYIknFgaJZoBSwQkH%2FAddingJiraStoriesToBranch-S02-05.png?alt=media&amp;token=26ce2f16-0f54-4944-b8e4-5eef5a08f86c" alt="" width="563"><figcaption></figcaption></figure></div>

{% hint style="info" %}

#### ストーリーの選択

一覧には各ストーリーのストーリーキーのみが表示されます。探しているストーリーに対応するストーリーキーを特定する必要がある場合は、Jira プロジェクトを直接参照してください。

ドロップダウンメニューで Jira ストーリーをクリックして選択すると、右側にチェックマークが表示されます。複数のストーリーを一度に選択できます。選択を解除するには、もう一度クリックしてチェックマークを削除します。ストーリーが多い場合は、検索バーを使ってすばやく見つけられます。
{% endhint %}

9. ストーリーを選択したら、メニューの外側をクリックして閉じます。

   <div align="left"><figure><img src="https://225042527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2FFQRVbbTaBKoE34HPm4KW%2FAddingJiraStoriesToBranch-S02-06.png?alt=media&amp;token=15fd8f59-7042-4ef2-a931-e5b01a201107" alt="" width="563"><figcaption></figcaption></figure></div>
10. 次をクリックします **追加** 選択したストーリーを追加するには。

    <div align="left"><figure><img src="https://225042527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2FXDMHSz1rcQJ5x2MXDH4V%2FAddingJiraStoriesToBranch-S02-07.png?alt=media&amp;token=99dfb3cd-cdab-49ef-bde5-883a11f8e510" alt="" width="563"><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}

### 追加したストーリーの確認

1. ストーリーが追加されると、 **関連ストア > Jira** テーブルに各ストーリーの詳細とともに一覧表示されます。
2. 追加したストーリーが正しいことを確認してください。

   <div align="left"><figure><img src="https://225042527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2FvwgLIPrrlxuHiuQXAyKL%2FAddingJiraStoriesToBranch-S03-01.png?alt=media&amp;token=94619ec9-0672-40ff-88e5-20d4a1e047bc" alt="" width="563"><figcaption></figcaption></figure></div>
3. これらのストーリーのステータスは、このブランチがマッピングされたステータス更新を持つ組織にデプロイされるたびに更新されます。
   {% 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/buranchiheno-jira-sutrno.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.
