リクエスト参加者としてグループ メンバーを追加する方法

プラットフォームの注記: Cloud のみ - This article only applies to Atlassian apps on the クラウド プラットフォーム上のアトラシアン製品にのみ適用されます。

要約

You may need to automatically include all members from a group as request participants in customer requests. It's not possible to select a group directly, but this article offers a solution to use automation to automatically add all members of a group to customer requests.

ソリューション

Use automation to add group members as request participants

We have an open feature request to enable selecting a group in the request participants field:

現状の代替解決策は、グループ メンバーをリクエスト参加者として追加する方法を提供する自動化ルールを作成することです。

First, Add a new custom field to a service project of the Group picker type. This field needs to be filled out with the relevant group by the time the rule is triggered. You can set the group as a default value for the field. Then, create an automation rule:

  1. Select the trigger according to your business requirement.

  2. Add an action Send web request. This web request will get the groupID based on the value of the custom field filled up:

    1. Web request URL: https://YOURINSTANCE.atlassian.net/rest/api/3/groups/picker?query={{issue.CUSTOMFIELDNAME.name.urlEncode}}&maxResults=1

    2. HTTP メソッド: GET

    3. Web request body: Empty

    4. Check the box Delay execution of subsequent rule actions until we've received a response for this web request.

    5. Headers: use the following as Key: Value

      1. Accept: Application/JSON

      2. Authorization: Basic. この記事を参照して REST API の基本認証情報を生成します。

  3. Add another action Send web request. This web request will get group members based on the value of the custom field filled out:

    1. Web request URL: https://YOURINSTANCE.atlassian.net/rest/api/3/group/member?groupId={{webResponse.body.groups.groupId}}

    2. HTTP メソッド: GET

    3. Web request body: Empty

    4. Check the box Delay execution of subsequent rule actions until we've received a response for this web request.

    5. Headers: use the following as Key: Value

      1. Accept: Application/JSON

      2. Authorization: Basic. この記事を参照して REST API の基本認証情報を生成します。

  4. Add an action Edit work item, to edit the Request participants using the smart value {{webResponse.body.values.accountId}}, as well as using the option "Copy from issue" so that the existing participants don't get overwritten.

自動化ルールの詳細については下記のドキュメントをご確認ください。

更新日時: September 25, 2025

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

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