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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • 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

How can I automatically create a new sub-task when another sub-task is complete? Edited

I am trying to manage tasks in a certain way so that a large task can be broken down into subtasks.  I don't want all of the subtasks to be created up front.  Instead, when one task reaches a certain point in its workflow the next task should be created.

I tried to do this in Automation for Jira but I am getting:

Error creating issue - Issue type is a sub-task but parent issue key or id not specified. (issuetype)

I don't see a simple way (or any way) to set the parent issue key or ID.  I've been trying to find this in the documentation but can't find anything that addresses this, which seems surprising.  I would have thought this was a fairly basic and common use case.

The following have failed:

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

and

{
"fields": {
"parent": ["{{issue.fields.parent}}"]
}
}

Both result in "Error creating issue - data was not an object (parent)"

2 answers

1 accepted

0 votes
Answer accepted

Capture 2020-11-17 at 22.16.35.png

Since code blocks are failing

Seems like I can't post a code block to answer this myself

Suggest an answer

Log in or Sign up to answer
TAGS

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