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)"
Since code blocks are failing
Seems like I can't post a code block to answer this myself
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.