Hi there,
we created an automation rule in Jira (Data Center) using the 'Scheduled' trigger. The scheduled trigger is not working, no matter if we are using a cron expression or a fixed rate. But pushing the 'run rule' button works with the same configuration.
We are using the plugin 'Structure' too and in the JQL of the scheduled trigger we're using it.
Our JQL:
(project in ("X") AND "Initial System" in ("xxx", "xxx") OR issue in structure("Feature Structure", "child in [project in (projectA,projectB)]") OR issue in structure("Bug Structure", "child in [project in (projectA,projectB)]")) AND NOT status changed to ("In Testing") after -14d AND status in ("In Testing")
Error message in the Audit Log:
Error running query for scheduled JQL trigger:"((project in ...)" - Failed to validate jqlFunction 'structure', possibly plugin supplying it had thrown exception. Check the logs."
Logfile:
2021-08-09 09:41:48,751+0200 automation-rule-executor:thread-2 WARN jiraautomation [c.atlassian.ozymandias.SafePluginPointAccess] Unable to run plugin code because of 'java.lang.NullPointerException - null'.
I've already googled a lot but I didn't find something useful. I'm really wondering why the scheduled trigger is not working but when pushing 'run rule' everything is fine.
Automation for Jira Version 7.2.8
Jira Version DC 8.13.4
Some hints for us?
Thanks!!!
Regards,
Kathi