I am testing out an automation that clones issues from one project to another, where the target project is depending on the Team that needs to take care of the Issue.
At the moment we use a custom field for this, but since Atlassian provided a "Team" field, i want to change our automation to use this.
Since the "Team" field cant be set i need to provide the data with "Additional fields" JSON looking as follows:
{
"fields": {
"Team": {"id": {{triggerIssue.team.id.asJsonString}} }
}
}
I get the following error, when running the automation:
Error creating issue
Team id 'JsonData{data={id=215cba51-6bba-430a-8659-7972cef731d8}}' is not valid. (customfield_10001)
What am i missing here?