An automation rule is creating a task link to a parent. How to make automatically the field "Team" by heritage from the Parent field "Team"
Hello @Benedicte
On action : Edit work item
Choose More options and add this json
Depending on your configuration, xxxx is the ID of the Team field
{
"fields": {
"customfield_xxxx": "{{issue.parent.customfield_xxxx}}"
}
}
Or you can try this approach if you are not familiar with how to find a custom field ID.
{
"fields": {
"Team": "{{issue.parent.Team}}"
}
}
Hi @Benedicte
Both option from @Duc Thang TRAN work.
For more visibility and easy relation, I should use the option:
{
"fields": {
"Team": "{{issue.parent.Team}}"
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You don't need JSON. Is not a custom field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can edit the created task like this:
Action: Edit issue fields → select the Team field.
In the value, enter:
{{issue.parent.fields.Team}}
This makes the task automatically inherit the Team field from the parent.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As I said, {{issue.parent.fields.Team}} works. It returns the teams id, which you need to update the teams field.
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.