Inherit Team from parent issue

jasper.hoevenaars May 17, 2023

I'm trying to use automation to set the team of a new issue (using advanced roadmaps) based on the parent issue, completely similar to: Solved: Inherit Team field from parent issue using Automat... (atlassian.com).

However in my case the audit says that the rule was successful but the team field stays empty, even though the parent team is defined.

In the above example in the JSON query they use issue.epic. Since our hierarchy is:

capability

 - feature

    - story

 

I've tried issue.parent as well, without results. Anyone an idea on how to solve this or get the team id assigned in a different way. Some tips on how to trouble shoot JSON are also appreciated. 

the code for edit issue:

{
"fields": {
"Team": "{{issue.parent.team.id}}"
}
}
}

0 answers

Suggest an answer

Log in or Sign up to answer