Details
-
Bug
-
Status: Done
-
High
-
Resolution: Duplicate
-
5.4.12
-
None
-
None
-
None
-
0
Description
When creating a scheduled automation rule, and executing a ScriptRunner script as the action, using the "simply run the conditions and actions without providing issues" option doesn't run the script.
Steps to reproduce:
- Create a new scheduled automation rule and select "simply run the conditions and actions without providing issues"
- Select "Execute a ScriptRunner script" as the action, and create a log statement
- Save the rule and run it, see that the statement has not been logged
The script does actually run if "run a JQL search and pass results to subsequent conditions and actions" is selected. It seems that this may be because these scripts are run by iterating through a given list of issues and calling the script once per issue. If no issues are passed, as with "simply run the conditions and actions without providing issues", then the script is never run.
Attachments
Issue Links
- duplicates
-
SRJIRA-3302 Automation for Jira integration - run action regardless of whether an issue is provided
-
- Done
-
- relates to
-
SRJIRA-2940 support bulk processing for "Automation for Jira" events
-
- To Do
-