自動化ルールとコンポーネントの新しい用語

自動化の「ルール」は「フロー」に、「コンポーネント」は「ステップ」になりました。この変更を行っている間、ドキュメントの一部に用語の不一致が発生する場合があります。自動化に関する最新情報の詳細をご確認ください。

自動化で Ansible を使用する

はじめる前に

Jira スペースの自動化を管理するには、次のような適切なスペース権限が必要です。

To manage global automations, you’ll need the Administer Jira permission. Learn more about global permissions in Jira Cloud.

Ansible では、接続が正しく機能するように、次の設定が行われていることを確認してください。

Integrate your automation flow with Ansible

  1. You can use your existing application in Ansible to connect to Atlassian Automation. If you don’t have an application, create a new one. Read how to create an application in Ansible to get started. Use the details below while creating:
    Redirect URIs: https://id.atlassian.com/outboundAuth/finish
    Client Type: Confidential
    Authorisation Grant Type: Authorisation Code

  2. In Jira Service Management, go to Automation and select Create flow.

  3. Select the Ansible action for your flow. Launch job template in Ansible is the only available action at the moment.

  4. Select Connect to create a connection with Ansible. Connections allow your automation flows to make changes in other tools and products.

  5. 使用する接続で、Atlassian Automation に接続したいアプリ情報を入力します。

    1. アプリケーション名。Ansible 接続を簡単に識別できるように、一意の名前を付けてください。これはアプリケーションの名前である必要はありませんが、一意の識別子を付けてアプリケーション名を指定すると便利です。たとえば、Acme A や Acme B とします。ここで Acme はアプリケーション名、A と B は固有の値です。

    2. クライアント ID。Ansible のアプリケーションのクライアント ID です。アプリケーションを作成した後に一度だけ表示されます。

    3. クライアント シークレット。Ansible のアプリケーションのクライアント シークレットです。アプリケーションを作成した後に一度だけ表示されます。

    4. Ansible Tower URL。これは通常、Ansible の Automation コントローラーを開いているときにブラウザのアドレス バーに表示される URL です。

  6. [接続] を選択して接続の作成を完了します。

Ansible でジョブ テンプレートを起動

このアクションは、応答待ちをサポートします (Enterprise プランのみ)

When enabled, the flow will resume only if Ansible returns a success response within 15 minutes. Else, the flow will fail.

You can choose to resume the flow even on failure response, which means even if Ansible doesn’t return a success response within 15 minutes, the flow will resume anyway.

Ansible からペイロードにアクセスするには、{{ansibleJobTemplate.output}} スマート値を使用します。

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

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