Hi
I'm trying to make an automation to update the Team of all children issues when updating the value. For example; if I update the team of an Epic, I'd like all the children to get the new team as well. I keep getting json error:
Error editing work items
DPT-136 (Team id 'JsonData{data={id=1c2de3cb-62c0-4f81-81da-9a8a785938a4}}' is not valid. (customfield_10104)),
This is my rule:
{
"update": {
"customfield_10104": {
"id": "{{parent.customfield_10104.id}}"
}
}
}
Rule:
Seems to be pretty simple, so not sure why it doesnt work???
TIA!
Hello @sam
Welcome to the Atlassian community.
If you are using the native Team field try this:
{
"fields": {
"Team": "{{triggerIssue.Team}}"
}
}
woot! That did it! Thanks!!!!!!!!!!!!!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sam - Welcome to the Atlassian Community!
It might just be a syntax thing - try putting {{issue.parent in the first part.
Also, take a look at other guidance here: https://community.atlassian.com/forums/Jira-articles/Two-ways-to-update-the-Team-field/ba-p/2567910
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.