Configure a Jira Coding Agent session
Configure code and environment settings for your Jira Coding Agent session.
Code and environment settings apply only to your Jira Coding Agent sessions and are saved per user, per repository, for all future sessions with that repository.
コード設定を構成する
Code settings allow you to define your branch details and how Jira Coding Agent pushes code changes to your repository.
コード設定を構成するには、次の手順に従います。
Go to your work item.
From the Agents section, select Start work, then select Jira Coding Agent.
Or, assign a work item to Jira Coding Agent. Jira Coding Agent will appear in the Agents section.
Select a repository.
Then, select Settings () to open the Code settings dialog.
ブランチ名とソース ブランチを入力します。ブランチ名に作業項目キーを含めて、ブランチが Jira にリンクされるようにすることをお勧めします。
Select the required Branch options to let Jira Coding Agent push changes to a branch, and create a draft pull request on your behalf. Jira Coding Agent doesn’t merge the draft pull request directly, your team is still in control of reviewing and merging the code the Jira Coding Agent generates.
[保存] を選択します。
環境設定を構成する
Jira Coding Agent sessions can run on your repository with no setup, using its default development tools and languages. But you can customize the session’s sandbox environment by installing and setting up your own tools, too.
環境変数を設定するには、次の手順に従います。
Go to your work item.
From the Agents section, select Start work, then select Jira Coding Agent.
Or, assign a work item to the Jira Coding Agent. Jira Coding Agentwill appear in the Agents section.
リポジトリを選択します。環境設定はリポジトリを選択した場合にのみ利用可能になります。
[Settings (設定)] () を選択してコード設定を開きます。
[Environment settings (環境設定)] を選択します。
変数、シークレット、セッション開始時に実行するスクリプトを指定して、セッションをカスタマイズします。
環境変数: セッション サンドボックスに環境変数として公開されるキーと値のペアを追加します。ユーザーとすべてのサンドボックス プロセスで利用できます。
シークレット: セットアップ スクリプトからアクセス可能なキーと値のペアを追加します。シークレットは保存時に暗号化され、既定ではセットアップ スクリプトでのみ利用できます (手動で永続化しない限り、セッション サンドボックスには公開されません)。
セットアップ スクリプト: セッションの開始時に実行され、ツールのインストールやビルド ツールの設定などに使用できます。特定の場所にシークレットを保存する必要がある場合は、セットアップ スクリプトで指定してください。
この内容はお役に立ちましたか?