Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,456,405
Community Members
 
Community Events
176
Community Groups

Can I create a Parent Issue from the workflow of Subtask workflow.

Edited

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?

 

1 answer

1 accepted

3 votes
Answer accepted

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? 

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.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS

Atlassian Community Events