-
Type:
Bug
-
Resolution: Timed out
-
Priority:
Low
-
Component/s: Work Item - Search - Backend - JVIS
-
1
-
Minor
-
1
Issue Summary
When ScriptRunner is installed on a site, it creates an alias for issueLinkType which references the entity property issue.property[scriptrunner.issuelinks].types under the hood.
So when performing an inequality != JQL search with issueLinkType, unexpected results can be returned if the ScriptRunner entity property value doesn't match the issuelink value.
Steps to Reproduce
- Create a site and install ScriptRunner
- Create two issues FOO-1 and FOO-2
- Create an issue link where FOO-1 is tested by FOO-2
- Search issueKey = FOO-1 AND issueLinkType != "is tested by"
Expected Results
FOO-1 is not returned because it contains an "is tested by" issue link.
Actual Results
FOO-1 is returned.
Workaround
issueKey = FOO-1 AND issueLinkType != "is tested by" AND issue.property[scriptrunner.issuelinks].types != Test