I have an automation that runs and creates a few tasks after an epic is created and links them to the epic. The tasks generate fine, but I get errors in the audit log after each task creating saying:
Issues created successfully
Unknown fields set during create, they may be unavailable for the project/type. Check your custom field configuration.
Fields ignored -Parent (parent)
I have a few custom task and subtask types that I'm using, and I can't figure out why parent is unavailable (as far as I know, those are required fields by JIRA)
Are you working with a rule for a Team Managed project or a Company Managed project?
The field for denoting the Epic "parent" of a Task may be different than the field denoting the Task "parent" of a Subtask.
In Company Managed projects "Epic Link" is used to record the "parent" Epic for a Task rather than the "Parent" field.
In Team Managed projects the "Parent" field is used to for both Subtasks and Tasks to record their parent issue, regardless of whether that is an Epic or a Task.
You can't create a task (aka not a sub task) with a parent, as it has no parent.
Epics are not parents they are related/linked issues
You might need to have 2 automations, one for the task linked to the epic , then another to make subtasks off this new task (automation can fire other automations)
This is actually exactly what I am doing. I have one automation that just creates a task on the epic, and then another automation that creates sub tasks on the created task if it has a certain label that I'm using to know when to create the subtasks. However, the errors show up after creating the task on the epic. I posted a picture under @Trudy Claspill 's thread. of what I do to create the task and relate it to the epic.
For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...
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