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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

NextGen: How to create Task/Subtask under an epic automatically


I have a need to automatically clone an Epic and task/subtask under it. Because we can't clone epic I wrote an automation rule. 

so I created Manually trigger rule Where it will create an epic/task and subtask. 

I was able to link Task to EPIC using the following JSON

"fields": {
"parent": {"key": "{{issue.key}}"}

but no matter what I do I can't link subtask to TASK. Help Please

Error I get

Error creating issueGiven parent issue does not belong to appropriate hierarchy (parentId)

1 answer

Hi @Neetu Verma 

Cloning spanning 2 levels seems easy (epic to task, or task to sub-tasks).  Cloning spanning 3 levels (epic to task to sub-tasks) isn't possible yet with one rule.  There are suggestions to make the cloning of sub-tasks easier:

You may be able to do it with multiple rules:

  • Your manually triggered rule to clone the epic and the immediate children (tasks, stories), and some values put in fields which you can search for to detect the relationships with JQL
  • Another rule to detect creation of cloned issues, and then link based upon the data you find with JQL.

Please see this post to get ideas how the linking of sub-tasks might be done:


Best regards,


Suggest an answer

Log in or Sign up to answer
Site Admin

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you