Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Hello,
I need to seach in all issue filtering by Project Key (field KEY).
I thought there was this type of filed-filter between the standard ones but I ca't find it. Do I need to create a custom serach filter? Or I am missing something?
Thanks
I'm not quite sure that there is a question here at all.
When you build a filter, the JQL ends up with a clause of "Project = MyProject". (The simple search interface names project as a valid field, and ends up generating that JQL in the background).
So I'm a bit lost on why you're talking about custom search filters or field-filter. You just need to search for your project. There's nothing more to do.
You are forcing me to "Switch to Advance" and run JQL Query in order to search by project key .....instead i should have a search option for project key...!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, sorry, you don't have to use JQL, I just use it because a lot of searches that come up as questions are only answerable in JQL.
The simple search lets you select project as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't think the question was very clear and you haven't been very nice to Nic or Bhushan. They aren't paid for this, so please be nice....
I think what you are asking is how to do restrict your search results to a range of issues within a project? You could try this JQL (using advanced search):
issuekey > HSA-100 and issuekey < HSA-121
Don't be afraid of using advanced search, it's often faster.
But what I'd recommend is doing a project search and using an order e.g.
project=HSA order by updated desc
or using a date range
project=HSA and created > startOfday (-14) and created < 0
for anything created in the last two weeks
feel free to contact the "development team", just be polite please.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hmm trying to upvote your answer puts the count to -2. Strange.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bhushan,
Yes, I feel like someone is abusing the karma system, twice in 24 hours it seems
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just wanted to thanks Matthew Cobby . I was searching for some thing and i found the answer here . +1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have to agree with Nic. This is not really a question at all or the user is looking for something that is not really explained in the question.
If you are using simple search select the project from the dropdown.
If you are using advanced search just say project = <your project key>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
how can someone say that "This is not really a question at all " if something like that please add header in the top of the page "DONT ASK TECHY QUESTIONS"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Bhushan - I dont want to select project because if i select "Project" i will get all the issues created under that project .. what if i would like to search issues which starts with a HSA-101 and end with HSA-120....?????
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think it's because you didn't really ask a useful question at the beginning. Your original post was phrased as "how do I search for an issue by it's project key", which is pretty much basic in Jira and you didn't explain what you were really asking.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Haha so much noise for a simple thing :)
Areik I think you got your solution from Mathew and Nic after Nic spent some effort decoding your question :)
This is a good place to find answers and a fun place too. Please try and be nice to people who are trying to help you resolve an issue or provide an answer for your query for free.
You can always also contact Atlassian Support at support.atlassian.com
Cheers
Bhushan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nic i was having same problem as areik's too i found his question sensible and valid
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Imran, it's a perfectly valid question (once we worked out what it really was), and well worth asking, as it's not particularly obvious from the UI or the documentation.
My follow-on question was more about the human side. I've never come across anyone ask for a range of issues like that. I can't actually work out any situation where it's particularly useful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Imran, no. The original question was not valid. The answers given to it answered it. Once we got an explanation of what the actual question was, then yes, that was perfectly valid. But we did not know that until later.
The reasons for needing a range search are also unclear, but that's just me being curious, as I can't imagine a situation where the (second) question is useful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Bhushan - I am surprised to hear from you that its a fun place............its so wierd people are usning this community to solve their issues and you are making this as a fun place......i think its should not, its not acceptable .....you can change your community to MSDN or stack overflow or something which is better and not a fun place.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nic - you are a part of issue tracking system (JIRA) and made it public which make your jira users to do RND for the application and there is no doubt that you can expect any silly or serious questions in the community.
This forum states that its -customers forum and community and you have to accept anything and evrything related to this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Done tbe afraid i am soft to you alll and .......Thank you all for your swift answer, really appreciated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
for every issue created by user.......system will generate unique key(HSA-101,HSA-102........) which is labeled as key and now if i want to search my issues i can filter it by "Project", "Assignee", "Created Date"........etc(i want to search issue which starts with HSA-101 AND HSA-120) but i didnt find and option to search by "key"in filter page.......
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
All issues that starts with HSA belong to project HSA. So if you select project HSA you get all the issues with keys that start with HSA.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Bhushan and Nic - if you dont have an accurate answer you can help me in getting the contact details of development team i can sort this out with them !!!!!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We have given you an accurate answer to the question you asked. It's not our fault if you ignore the responses.
It actually turns out that you had failed to explain your question properly.
If I have understood your more recent explanation, your question is NOT "I want to search by issue key". It is "I have a project and I want to search by an arbitrary range of issue sequence numbers within that project"
There's no real function in Jira for doing that. Mostly because it's generally useless. People either know their issue key, or they have some other data item they can search on. Dates it was created between are the closest you can get to the sequence number easily (because you know that issue HSA-N was created before HSA-N+1, N+2, N+3 etc)
Could you explain why you want to search on the issue sequence numbers though? That might help us give you a better option. (I've some other ideas, but without knowing the logic behind an arbitrary search, there's no point explaining them, as some will be of no use at all)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use issuekey in JQL
Search for issues with a particular Issue Key or Issue ID (i.e. the number that JIRA automatically allocates to an Issue).
Supported Operators: =, !=, >, >=, <, <=,IS, IS NOT, IN, NOT IN
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Areik, please read my response. I said this is not a question or you haven't explained what you clearly want.
You are looking to search for issues in a project between a range of issue keys. Not project key.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nic - I thought its a best place to get resolution for my questions may be i am wrong...........
FYI - Any issues raised by Team "A" will share the issue key to Team "B"........
Team ""B" will come back later on and ask me to give details for particular issue key ("HSA-120 to HSA-150") now Team "A" should log in to jira and enter the issue keys and export,forward it to Team B, this is an operational issue i would need help in getting this resolved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Areik, it is a good place. We're trying to help. We didn't understand your actual question at first because it was not clear - it pointed at project key, and did not mention the "sequence range".
I'm still not entirely sure that "a range of keys" is useful in human terms, but if you think it's useful, I don't know your processes. I've *never* been asked for anything remotely like that since I started using Jira (version 2).
Matthew has given you the best answer you are going to get.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I too had face the same problem with unique key I completely agree with Arieik He has a valid question
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are forcing me to "Switch to Advance" and run JQL Query in order to search by issue key .....instead i should have a search option for issue key...!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, we are forcing you to switch to advanced. Mainly because you are doing something so far off the normal ways of working, it's the only way.
It's not scary... don't be afraid of JQL. I'm sure you will be able to handle it!
You have your answer, I've given it to you.
Go & try it.... then come back & say thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Mathew - I already knew about JQL Swithc to Advance you can see mu old posts , i was expecting any other subsequent answers..fine its ok i dont want to trouble you guys thanks for all the answers hope the upcoming builds will understand the customer requirement.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I dont agree "Nic Brough" say i have a project with 700 issues created under the project and i would like to search mu issue based on the project key...!!! how would i do that ??? any answers will be appreciated.
Thanks in advance
Regards,
Areik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you may have an option "Switch to Advance" and customise your query "key>= Project-101 AND key<= Project-150"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm afraid you're missing my point.
"I want to search on project key" - great, all issues belong to a project. Each project has a unique key. So you type "project = X" into the advanced search and you get a list of issues in the project.
I think the problem is you are not explaining what you mean by "search on project key" in your question.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is it possible to search by the project key? I'll try to explain a bit better.
We have a project called "Project X" with a project key as "PX". Changing the name of the project to "Project Y" many of my filters break because they were searching for things like Project = "Project X". Instead, i'd like to create a filter based on the key like search where key = "PX". The project name can be changed any time, but the project key isn't very likely to change.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have the same problem like Chris. The standard projectPicker gadget returns value that is equal to project key in DB (e.g. for project TEST it returns project-10200. Unfortunately I could not find a way to use the db key in JQL quieries. I had to retrieve the project name using code in custom control.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have to say, this is one of the most tormented conversations I've seen. But I also need the answer to this.
So I'm not really interested in the 'story' about JIRA queries, the philosophy behind the design, or the 'explanations'.
In this type of scenario, the only thing that works is confirming yes or no to specific questions. If you want to explain why the answer is yes or no, please wait until that question is asked.
So...
Is it true that a project key consists of a short list of the characters that make up the word that is called the project key?
Yes or no only please...
Is it true that an Issuekey in an advanced query must be represented by a projectkey and a number separated by a hyphen?
Yes or no only please...
Is it true that there is NO WAY to search in the basic, advanced, or JQL search facilities to select issues that match a specific number portion of an issue key?
Yes or no only please...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
beg pardon, please replace 'project key' in the first question with the phrase 'project name'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's "tormented" because the original question was not the actual question the poster had, and it took a while to get the actual question out of them. Still, we got there in the end.
The answer to your questions are "an issuekey is always <project>-<sequence>".
There was no search for a range of numbers when the original question was asked. There is now - you can use the format "issuekey > ABC-123"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is tormented because you feel you have to 'tell a story' rather than provide precise answers.
I provided questions that stipulated 'yes or no only, please'.
But you just couldn't help yourself. You had to engage in justifying and explaining.
It's a personal trait, and a manner of communicating.
That's all.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No. Yet again, you have not bothered to read the previous answers. The "tormented" happened because the wrong question was asked and it took some time to get the questioner round to understanding it.
I explain things when a question is asked in a way that implies someone needs things explaining.
Your questions show that you don't know the basics. That's fine. But it's better that you now understand what it does, because if I'd given simple yes/no answers, you would have learned very little, and there's a 99% chance you'd have followed up with a pointless set of questions that have now already been answered.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register Now
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.