I am looking for a way to copy the team from an epic to a story/task issue upon creation. I think i have to use a json smartvalue but need help with looking up the team number first and then using that for the input to the json.
I think it is the same as this automation issue for Server/Data center version, even though you appear to be using Jira Cloud
You are able to do this.
Make sure the "Team" field is available on the required screen(s).
In the automation rule use the following Edit action in the rule should contain:
{
"fields": {
"customfield_<ID>":"<Team ID>"
}
}Example
{
"fields": {
"customfield_10001":"100"
}
}