Setup automation rule to get all the users added in a group and then create issues and assign them to each user

Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.

Summary

Setup an automation rule to get all the users added to a group and then create issues and assign them to each user.

Solution

The suggested approach for this automation configuration use case is :

Configuration of the automation rule:

  • Trigger: Scheduled

  • Add New action: Send Web request: /rest/api/3/group/member?groupname=Employees&includeInactiveUsers=false

  • Select checkbox for Delay execution of subsequent rule actions until we've received a response for this web request

  • Advanced Branch condition: For each smart value Smart value:

1 {{webResponse.body.values.accountId}}

Variation name: GroupMemberDevelopers

Add new action: Create issue: defined all the details, make sure to pass smart value in Assignee field:

1 {{GroupMemberDevelopers}}

Please ensure to update the authorization header in the new rule on both the web requests as suggested in the article.

Updated on May 31, 2024

Still need help?

The Atlassian Community is here for you.