Hi,
the setup i have is this:
ticket A contains a custom field with value "x".
"x" is the summary of ticket B.
ticket B has a sales rep field (user) with a "user's name".
ticket A also has a field for sales rep.
i need an automation that will run manually from ticket A, which will copy the sales rep from ticket B to ticket A.
what i currently have is:
on manual triger
if ticket matches conditions
for JQL (summary ~ "x" and issue type = ticket 
create a variable salesRep = {{issue.Sales/Account Manager.accountId}}
edit issue with JSON
{
"fields": {
"Sales/Account Manager": { "id": "{{salesRep}}" }
}
}
im getting the error that the account doesnt exist.
any ideas how to resolve?