Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Error when Creating Sub-Task in Automation

Michelle Campbell October 25, 2024

I have a simple automation that creates sub-tasks when an issue is created.  When I create an issue, I get an error saying:

Some sub-tasks could not be created:

1: Parent issue ID: '234552' / Key: 'MENG-9' can not be sub-task. (issuetype), 2: Parent issue ID: '234552' / Key: 'MENG-9' can not be sub-task. (issuetype)

But the sub-tasks do get created.  Just would prefer not to get the error.  The parent is an issue and the sub-task is actually a sub-task.  Any thoughts?1.png2-pic.png

1 answer

2 votes
Manoj Gangwar
Community Champion
October 25, 2024

Hi @Michelle Campbell you should add one condition after issue created. If issue type not one of sub task issue type. Currently, it is checking all the issue types including sub-task so you may receive error. 

Suggest an answer

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

Atlassian Community Events