Hi community! I am a bit stuck and hope you can help me.
I have two automation rules:
2. Second one
The goal: Based on the created sub-tasks from the first automation rule, the second automation rule that is based on any change of the Program Leaders user picker field should assign all sub-tasks to the chosen program leader. I've ticked the box on the second automation rule to be triggered when other rules are there. This project only has two rules.
In edit work item field, I added an advanced option with the following code:
{
"fields": {
"assignee": {
"accountId": "{{issue.parent.Program Leaders.first.accountId}}"
}
}
}
What parts am I missing here? Thanks!
Hi Nikola,
Not following what you are doing. If the Program Leader changes for the parent - how do you know what value to use for the Assignee? You are assigning the Program Leader from the sub-task to the Assignee field. Is that what you are trying to do? Is it because the Program Leader was blank in the parent and now has a value that you want to do the assignment at that point?
And are you copying down the Program Leader from the Parent at the time you create the Sub-tasks?
And finally, add an Action for Re-fetch work item after the initial trigger in the first rule.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.