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
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hello,
I am trying to use scriptrunner to create a Parent Issue Type from a Subtask issue workflow, and link the issues. Is this a possibility, or can only Parent Issue Workflows create other Parent Issue ticket?
Welcome to the Atlassian Community!
Sub-tasks cannot exist without a parent, so there's actually nowhere to put such a thing. You can't execute a transition on an issue that does not exist.
Hi Nic, thanks for the reply. I think I may have provided a confusing question above.
Currently I have a workflow built for Parent issue A-1, and once it have been transitioned to "In Progress", A-1 creates subtask B-1. Therefore, subtask B-1 is existing within Parent A-1.
What I would like to do is create a new Parent Issue A-2, but only when subtask B-1 has been resolved. And I would like to link Parent Issue A-2 to subtask B-1.
Is it possible to create a new parent issue A-2 from subtask B-1s completion?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, so it's not really a "parent" you're trying to create.
You can set up an automation that creates a new issue when any issue goes through a specific transition, and set a link on the new issue back to the "trigger" issue while you do it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.