Hello Atlassian Community,
Let's imagine we have received an object from an Assets field (for instance, "ITTeam"). You can see the details related to the Asset field in the image. The goal is to ensure that when the ITTeam asset field changes, an email is sent to the individuals in the group.
in this automation;
When selecting a Jira Group in the "To" section of the "Send email" action, it performs the operation as desired and sends an email to the specified group.
But in this automation;
It is not possible to send the email to the users added to the group which is selected as a value of an attribute of an Asset object. This feature is not yet implemented Jira Automation.
At this time, you need to copy the Insight object group attribute {{InsightObject.AssignedGroup
}} to a Jira group type custom field first and then specify the group custom field in the Send email action.
Hence, I would recommend creating a new custom Jira field of the type Group Picker (single group) and using the same Automation rule to copy the value of the field ITTeam to the new field. After that, you can select the Jira field in the To field of the Send email action.