We're using an on-call scheme for who to assign issues in a given week (rotation is weekly).
We have a single issue where the assignee is given as the on call and we change that assignment weekly.
So anytime a support ticket comes in we want the assignee to be pulled from the single issue assignee.
In automation we would have an edit issue and using "More options" to get to the JSON:
{
"fields" : {
{{ triggerIssue.assignee }} : {{ issue.Assignee }}
}
}
We thought that would work as the branching by JQL can find the single issue (e.g., issue.field would be for the scope of the branch.
We keep getting an error "Not valid JSON."