When I enter the following query" Project = "Data Science" AND issuetype = "In-Service Bundle" OR issuetype = 10000 ORDER BY key ASC, assignee ASC
I receive results from projects that are not Data Science. My results are in the thousands. What happened? I tried using Key = DS instead of project and it said The issue key 'DS' for field 'Key' is invalid. Even though that is my project code.
Hi @Lily Bender -- Welcome to the Atlassian Community!
Adding to the answers provided...I recommend looking at this free training from Atlassian on using JQL. It will cover introductory concepts and how to answer business questions with JQL:
https://support.atlassian.com/jira-software-cloud/docs/what-is-advanced-search-in-jira-cloud/
https://university.atlassian.com/student/path/849533-gain-project-insights-through-jql
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Use the below query
Project = "Data Science" AND (issuetype = "In-Service Bundle" OR issuetype = 10000) ORDER BY key ASC, assignee ASC
Regards
Uday
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah that worked! Thank you so much. What do the parentheses do? For future reference.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Start learning the difference between AND and OR operators, then combine them and use them.. then you will get the idea how they work...
If you remove the parentheses the query is looking for the issues from
Project = "Data Science" AND issuetype = "In-Service Bundle"
OR
issuetype = 10000 ORDER BY key ASC, assignee ASC
In the second statement it is looking for issues where issue type 10000 so that's why you are getting records from multiple projects.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.