I have a Automation for Jira rule which gives me an error, if there are 2 issues found. If it's only one issue the rule works as expected.
In this rule is a JQL:
issue in structure("DEMOANF1","descendant of {{issue.key}} AND [MyCustomTime > '{{triggerissue.MyCustomTime.jqlDateTime}}']")This JQL gives the following error message inside the automation.
JQL search failed for some issues. This is most likely because the JQL with smart-values was not valid for this query:
"(issue
in structure("DEMOANF1","(descendant of DEMOANF1-252) AND ([MyCustomTime > '2020-02-04 13:54'])")) AND (project in
(15001))" - Failed to validate jqlFunction 'structure', possibly plugin
supplying it had thrown exception. Check the logs."
Outside the automation it works. The error message is independant if there are issues found or not.