Confluence で自動化ルールを作成する
Rules allow you to automate actions in your system based on criteria you define.
Automation rules are made up of three steps: triggers that kick off the rule, conditions that refine the rule, and actions that perform tasks in your site.
自動化に移動する
ルールを作成するには、管理者はまずルールが機能する場所の Confluence の自動化に移動する必要があります。
サイト管理者と Confluence 管理者は、グローバル自動化で Confluence 全体で機能するルールを作成して有効にできます。
スペース管理者は、スペース自動化で個々のスペースのルールを作成して有効にできます。
While you may not think of yourself as an administrator, if you have a personal space you’re an admin of your space!
グローバル自動化に移動するには
サイト管理者および Confluence 管理者のみがグローバル自動化を表示できます。
右上隅の歯車アイコン () を選択して Confluence 管理を開きます。
左側のナビゲーションで [管理ツール] を探します。
[自動化] を選択します。
スペース自動化 (スペース管理者) に移動するには、次の手順に従います。
スペース管理者のみがスペース自動化を表示できます。
ルールを作成するスペースに移動します。
サイドバーで [自動化] を選択します。
[Automation] カードから [ルール] を選択します。
ページからスペース自動化にアクセスするには (スペース管理者)、次の手順に従います。
自身が管理者であるスペースに移動します。
ページを閲覧モードで開きます。
右上のツールバーで稲妻アイコンを選択するか、 a を押します。
Confluence 管理またはスペースの設定に「自動化」が表示されない場合は、次の理由が考えられます。
You're on the Space Overview page, a whiteboard, or a database. The automation icon appears only on pages in view mode.
現在ログインしているスペースの管理者でない (スペース自動化の場合)。
サイト管理者または Confluence 管理者でない (グローバル自動化の場合)。
チームが Cloud Standard または Cloud Free に登録している – 自動化は Confluence Premium の機能です。
グローバル自動化またはスペース自動化の場合、ルールを作成するには次の 2 つの方法があります。
Create a rule with Rovo
テンプレートから始める
Create a rule from scratch
Create a rule with Rovo
To create a rule with Rovo:
Select Create with Rovo in the top right of automation.
Describe the rule you’d like to create, including a trigger and action. You can also use one of the examples provided by selecting Show me an example.
Select Preview rule to see how the rule works.
Optionally, rename the rule and configure the rule details.
左側のルールの要約によって、次のように編集します。
Select each step in the rule chain to view and configure it.
Select Add component to add more conditions, branches, or actions.
[ルール詳細] を選択して、名前と初期設定の機能設定 ([所有者] や [実行者] など) を変更します。
ルールが完成したら、(上部の) [オンにする] ボタンを選択して保存し、有効にします。
More on creating rules with Rovo in Confluence
テンプレートからルールを作成する
A rule template functions similarly to a page template: It provides a starting point with appropriate steps pre-selected and arranged in the rule chain on the left.
テンプレートからルールを作成するには、次の手順に従います。
Select the Create rule button in the top-right of automation. A dropdown will appear.
Select Use a template.
ルール テンプレートを選択します。
Optionally, rename the rule and configure the rule details.
左側のルールの要約によって、次のように編集します。
Select each step in the rule chain to view and configure it.
Select Add step to add more conditions, branches, or actions.
[ルール詳細] を選択して、名前と初期設定の機能設定 ([所有者] や [実行者] など) を変更します。
ルールが完成したら、(上部の) [オンにする] ボタンを選択して保存し、有効にします。
ルール チェーンには、ルールの指示が含まれています。ルールを有効にすると、コンポーネントは上から下に表示される順序で実行されます。
ドラッグ & ドロップで並べ替えます。カーソルを合わせて [X] を選択し、削除します。
この機能ではコンポーネントを任意の順序で追加できますが、必ずしもどの順序でも機能するわけではありません。
After you enable your rule, confirm that it runs successfully by viewing Status in the automation audit log.
After you turn on your rule, you’ll see a green toggle switch turned ON, indicating that the rule is enabled. You can toggle the switch off to disable the rule at any time. Alternatively, select Return to rule to go back to the automation Rules tab. The name of your new rule will appear in the rules table, in alphabetical order. Find the row with your rule's name and toggle the Enabled switch to off. If you add a new step after enabling, you’ll need to select Update to apply any new changes to the rule.
Create a rule from scratch
The rule builder lets you build a new rule from scratch (instead of using a template from the Library). It guides you through adding and configuring steps, starting with a triggering event. Each component you save will appear in a rule chain on the left.
To create a rule from scratch:
Select the Create rule button in the top-right of automation. A dropdown will appear.
Select Create from scratch.
Select a trigger.
Optionally, add conditions to your trigger. Edit it (if needed) and select Next.
Select the component type (condition, branch, or action) you’d like to add next.
Note: You must add an action to complete the rule.
Continue adding steps until your rule is complete.
Select Rule details to change any of the following default functionality settings:
Name: Give your rule a name.
Description: Add a description to your rule.
Scope: Select which spaces the rule can run in.
Owner: Determine who will receive the emails about the rule.
Actor: The user the rule uses when it runs (example: Actor created the page).
Notify on error: Select how often the owner should be notified when the rule fails.
Select the Turn on rule button to save and enable your rule.
The rule chain contains the instructions for the rule. Once your rule is enabled, the components will run in the order they appear from top to bottom.
Drag and drop to reorder the components, and hover over the trash can () to delete them.
Although the feature lets you add components in any order, they may not work in that order.
After enabling your rule, confirm it runs successfully by viewing Status in the automation audit log.
After you turn on your rule, you’ll see a green toggle switch turned ON, indicating that the rule is enabled. You can toggle the switch off to disable the rule at any time. Alternatively, select Return to rule to go back to the automation Rules tab. The name of your new rule will appear in the rules table, in alphabetical order. Find the row with your rule's name and toggle the Enabled switch to off. If you add a new component after enabling, you’ll need to select Update to apply any new changes to the rule.
この内容はお役に立ちましたか?