I am using a Team-Managed Kanban Project.
Hi I am trying to use automation to update a people field based on the values from other people fields.
I have three fields:
- "Assignee" (this is the standard Jira field)
- "Project Team Members" this is a custom people field, and can contain multiple people.
- "Managers" this is a custom people field, and can contain multiple people.
- "All Team Members" this is a custom people field, and can contain multiple people.
I want to update the "All Team Members" if any of the fields in 1, 2 or 3 above are changed. The "All Team Members" members field should then include all people from 1, 2 and 3.
I have been playing with the "Edit issue fields" Automation but haven't managed to find the correct code to make this work.
I have managed to update the "All Team Members" field with the Assignee using the code below, but that is as far as I have got.
{
"update": {
"All Team Members": [
{
"add": {"id":"{{issue.assignee.accountId}}"}
}
]
}
}