-
Type:
Bug
-
Resolution: Cannot Reproduce
-
Priority:
Low
-
Component/s: Automation
-
Severity 3 - Minor
Issue Summary
When using the following query into a Related Issues Condition, Automation is not able to look for existing issues in the instance.
summary ~ {{triggerIssue.summary}} AND issuekey != {{triggerIssue.key}}
Steps to Reproduce
- Create a rule using Issue Created
- Add a Related Issue Condition with the following query:
summary ~ {{triggerIssue.summary}} AND issuekey != {{triggerIssue.key}}
The rule will inform in the audit log that there was a match with the just created issue, ignoring all the existing issues from the instance.
Expected Results
The rule should be able to look for issues which summary contains the same summary of the trigger issue and which key is different from the trigger issue key.
Actual Results
The condition matches the just created issues even though the query specifies the key needs to be different from the trigger issue:

The same problem happens when using Manual trigger and even Issue transitioned trigger.
Workaround
It's possible to use a Branch to look for issues which summary is similar from the just created issue summary:
