automationjirajql

Complex JQL query in jira automation


I want to close epic automatically when the last issue is closed. The first condition after trigger (closing the issue) is a query which checks if parent epic contains only closed tasks

issueFunction in issuesinEpics("NOT issueFunction in EpicsOf("status != Closed")")

This query doesn't work and I can't understand why Is it because of the issueFunction putted into another issueFunction? Is there any solution?


Solution

  • Thank you @HirokSarker! It works!

    issueFunction in issuesInEpics("NOT issueFunction in EpicsOf(\"status != Closed\")")

    One should use a backslash before quotes in the function that is nested in another function