I would like to copy one of the subtask summary to a custom field in the parent issue.
Example Subtask Summaries:
Subtask1 Summary - STask123 Testing
Subtask2 Summary - STask456 Automation
Subtask3 Summary - STask789 Result
When the story status change to "Done", I want to copy the subtask summary "STask789 Result" to custom field in parent issue.
Jira Automation rule, I was able to lookup for a subtask which contains summary as "STask789" and created a custom variable to save the summary. Since I created the custom variable inside the FOR look I am not able to access outside of it. How can I achieve it?