New to Atlassian and I'm trying to create a basic automation but running into a wall. What I want to do is make sure that any team members with expertise in a particular platform are always pinged whenever an issue comes in relevant to that expertise.
What I want to do:
-When issue is created
-check custom field
-if field has value "X"
-assign members of group "X" as watchers to the ticket.
My understanding is there is no way to do this out of the box. So, I have to get the members of the group with a web request. Simple enough. But now that I have those members as a variable, how to I iterate over that variable (Like an array) and assign each member as a watcher? Is this even the best way of going about what I'm trying to do?