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

Automating a list of sub-tasks to when an issue is created triggering errors

Edited

Hello,

I would like to create a list of sub-tasks that are auto-populated when an issue is created in a project.

At the moment it says the automation should run when an issue is created however whenever a sub-task is created in other issues it is triggering the automation to attempt to run and then causing an error saying that a Parent Issue cannot be a sub-task.

Any help much appreciated,

2 answers

1 accepted

1 vote
Answer accepted
Alexis Robert Community Leader Jan 26, 2022

Hi @Michael Barrett , 

 

to prevent this, I would suggest adding a simple Condition block after the trigger, to check that the issue type is not a sub task. Something like this : 

 

Screenshot 2022-01-26 at 14.09.47.png

 

Let me know if this helps, 

 

--Alexis

John Funk Community Leader Jan 26, 2022

That should do it.  :-)

Thanks @Alexis Robert that solution worked

Like Alexis Robert likes this
0 votes
Vishwas Rising Star Jan 26, 2022

Hey @Michael Barrett 

Welcome to Atlassian Community !!.

can you show the rule you have written and error log ?

Please check this example.

https://www.atlassian.com/software/jira/automation-template-library#/rule/1363678

Maybe you can add a condition like issuetype in standardissuetypes() below issue created event

 

Regards,

Vishwas

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events