Hi,
I have been writing Jira Automation with python for a few years now.
Lately, I started to use Jira Automation to try and fix my R&D TL issue with moving issue between Sprints, when there are subtasks not done.
This ability is critical! (in real life, not all sub tasks are closed every sprint)
So I took on the Challenge of fixing this - "no problems I said" ( we will come back to that...)
In a Pseudo code:
- Trigger a rule from a comment
- Parse the comment - save in s SMART Value
- Transfer Main issue - Clone to the rescue

- Iterate on the Subtasks and switch to the New Parent
- Assign the Parent to the sprint
a big shoutout to @Stefan Salzl for his super important comment for using a 'For EACH' that did the trick.
Anyone interested in the long solution?