I want to get all issues, which does not contain comments with a given word, e.g. no comment of a issue shall contain the word "Test".
Currently the search looks at every comment but not the whole comments of a issue. This means, if a issue has several comments, one does contain the word but one of the others does not, the issue gets displayed in the navigator.
All issues of project MYPROJ, which do not contain comments with the text "Test".
project = MYPROJ AND comment !~ Test ORDER BY key ASC
How do I write a query which matches all comments of a issue?
This can be achieved by building two queries:
1) Build a query that gives you all tickets that contain your text "Test":
project = "MYPROJ" AND comment ~ "test"
2) Save that query and note the filter id. We'll pretend the filter id is 1234
3) Reference that query to get the opposite of it:
project = "MYPROJ" AND filter != 1234
Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot