Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
None
-
None
-
2
-
2
-
Description
NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.
Summary
Currently , JIRA only allow {{ ~ }} and {{ !~ }} operator for comment field .
If use comment ~ ABC
It will display issue that contains ABC word in any comments in the issue .
If use comment !~ ABC
It will display issue that does not contains ABC word in any comments in the issue .
User expected to have query that will display issue , as long as it have/not ABC word , it will not display the issue .
Steps to Reproduce
- Create a JIRA ticket (let's say ticket ID is ABC-1)
- add two comments to above ticket. Sample comments are given below;
Comment 1: RCA
Comment 2: test - Search above ticket using following JQL to search above ticket
comment !~ RCA
Expected Results
No issue will display
Actual Results
ABC-1 will display
Workaround
To filter issue without "RCA" comment :-
- Save Filter1 as below query :-
comment !~ RCA
- Then , filter using below query :-
not filter = "Filter1"
But , do note it only work for issue ticket that have multiple comment . It will not work for issue that have 1 comment .
Attachments
Issue Links
- duplicates
-
JRASERVER-27848 Improve comments search for issues with multiple comments
- Gathering Interest
- relates to
-
JRACLOUD-61854 JQL query for "COMMENT" field with !~ is not working with multiple comment
- Closed
- mentioned in
-
Page Loading...