Looking to set a trigger issue's assignee from one found in branch JQL

Marc Isikoff
Contributor
October 18, 2023

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."

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events