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,461,809
Community Members
 
Community Events
176
Community Groups


Hey every one :) 

I created an Automation that every time a sub-task of a certain kind opens up, I want another sub-task to open up automatically.

I'm getting this error :

Parent issue ID: '26143' / Key: '' can not be sub-task. (issuetype), Issues with this Issue Type must be created in the same project as the parent. (project)

Anyone have any idea what i can do about it :) ? 

Thanks ! 

1 answer

Hi @Eran Roiter , thanks for your question.

Basically, the Sub-task that you are creating has to have a parent specified. For this, you need to use a branch. Here is what I did -

image.png

The trigger is the creation of the issue. You can specify a condition for issue type.

Then, you need a branch to say, on the creation of the Sub-task, go and check where it was created, as in within which issue, and add another Sub-task in the same location. That is to say, to have the same parent, as Sub-tasks cannot exist as independent issues.

Here is what the branch looks like. You need to choose here Branch rule / related issues and then choose the option, "Parent" from the list -

image.png

image.png

Please can you try to implement this solution and let me know if it works for you?

Cheers!

Hey there :)

It does work, but there are 2 problems: 
1. I need it to stop after 1 issue is created.
2. I have other parallel sub-tasks for which need to perform the same operation, and if I try to create a restriction after creating 1 sub it does not respond to the creation of a parallel sub-task.

Thanks a lot !

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events