-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Medium
-
Component/s: Condition - Issue Fields
-
None
-
1
-
Severity 2 - Major
Issue Summary
Jira Automation rules created for sub-Tasks are triggered for all the children instead of just sub-Tasks
Steps to Reproduce
- Create an automation rule for a Project with the condition as Sub-Task present from the UI or with a JQL as `type = sub-task`
- Set a trigger for it
- Create an Epic containing a Bug issue type in it
- Trigger the automation rule.

Expected Results
It should only get triggered for `sub-task` issue types for Parent issue types. So there should be no evaluation of for Epic in this case
Actual Results
The if block passes and the automation rule is evaluated even if Epic does not contain any sub-task issue type in it

Workaround
To make the automation rule validate for the "issue type" of all child issues to be equal to "sub-tasks", we need to change the condition to "All match specified JQL", and use the JQL "type = Sub-task", as the example below: