Under the parent task summaryA, there are summaryB, summaryC, and summaryD (each may also have multiple instances). I want to count when summaryB, summaryC, and summaryD are marked as DONE.
Using the Lookup issues action, I will search for the subtasks as follows: "Parent Link" = {{issue.key}} and status = done.
If there is summaryB under summaryA, and summaryB is done, I want to increment the custom field "CountB" by +1.
If there is summaryC under summaryA, and summaryC is done, I want to increment the custom field "CountC" by +1.
If there is summaryD under summaryA, and summaryD is done, I want to increment the custom field "CountD" by +1.
Using {{lookupIssues}} with Smart Value, I want to determine whether the subtask is summaryB, summaryC, or summaryD, and then proceed accordingly.
Please provide instructions on how to do this.