You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Hi Community !
I'm developing a Groovy Script on a transition on a workflow. During the transition, I show a screen where the user can select some elements from a checklist (custom field). All of this to create child issues automatically.
Expected behaviour
I expect the script to create child issues and then in the parent to see them sorted in order of creation.
Actual behaviour
When I do the transition the script is ran successfully and issues created in the right order (I can see that with the KEY) but they are shown randomly, even not by name or something.
There is also something strange happening, when I test the script against an issue wihtin the editor it works fine, but in production like, it's chaotic. Like shown in the screenshot below:
You can find the script here: https://github.com/dlepaux/groovy/blob/main/script.groovy
I believe the script is well documented by comments but if you have any question let me know.