Hi there,
I'm a newbie with script runner and groovy. I have a problem and i hope you can help guys. Let's say;
We have a parent issue and under it we have one or more subtask. In the subtasks we have select list multi choice custom fields lets say 2 for now. Users do transitions on subtasks and fill those customfields in the normal flow. After these fields filled, i want to see them in the parent issue.
Subtask1 => HR: Test, Recruitment
Sales: Purchase, Direct Selling
Subtask2 => HR: Sack, Trainings
Sales: Mass Market, Direct Selling
Parent => HR: Test, Recruitment, Sack, Trainings
Sales: Purchase, Direct Selling, Mass Market, Direct Selling
In this example, HR and Sales my customfields and i want to see them in the parent issue as i described. The code has to get all subtask customfield values and move it to parent issue.
Can we do that? Is it possible?
Thanks in advance.