Jira Automation rules for sub-Tasks are triggered for all the children instead of just sub-Tasks

XMLWordPrintable

    • 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

      1. 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`
      2. Set a trigger for it
      3. Create an Epic containing a Bug issue type in it
      4. 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:

      Additional links

      https://community.atlassian.com/t5/Jira-Software-articles/Introducing-the-new-Parent-field-in-company-managed-projects/ba-p/2377758

        1. image-2023-08-07-15-47-29-265.png
          279 kB
          Aditi P
        2. Screenshot 2023-08-07 at 4.01.40 pm.png
          53 kB
          Aditi P
        3. screenshot-1.png
          314 kB
          Eliseu Pedro

            Assignee:
            joe (Inactive)
            Reporter:
            Aditi P
            Votes:
            3 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: