Already my automation rules are working when I create a new issue, but when I create a subtask, automation rules gets failed.
Please see the error log:
is a subtask and subtasks cannot be associated to a sprint. It's associated to the same sprint as its parent.)
Automation:
It is exactly as the rule says: A subtask can't take a sprint value since it is a child issue of a task (parent) which belong to a sprint already.
Imagine this: You have a sprint to which you have certain tasks. For a specific task of that sprint, you decide to half the work, by creating two subtasks. It doesn't make any since to add a sprint value to these subtasks, since they are already part of a task which is part of a sprint.
So, you will not be able to assign a sprint value to any subtask in Jira.
Adding to this, I recommend that you add a Condition after the Trigger so that the rule will not continue processing when the created issue is a subtask or an epic.
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.
Please review the guidance and example. The Condition needs to be directly after the trigger so that the rule will stop before trying to edit a subtask.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.