Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with "search for issues" dialog while linking issues

Sebastian Krzyzanowski
Contributor
November 17, 2021

Hi everybody.

When trying to link issues, JIRA displays a simple search dialog which can be used to look up issues you want to get linked to the current/original issue.

I'm confused about how the search inside this search dialog works - two examples:

  1. Entering a string like "Reg" displays/proposes issues with "Req" somewhere inside the summary, as expected - entering "Reg-" instead results in no search results - is a minus char ('-') somehow a forbidden/restricted character?
  2. Searching for Issues with a certain number inside the summary looks up only issues with the first occurance of the number inside a summary - but all additional occurances are ignored. Is this a correct behavior?

Should I open a bug-request for this behavior?

Please see attached screenshot for further clarification.

 

search.jpg

1 answer

1 accepted

0 votes
Answer accepted
Gaurav
Community Champion
November 17, 2021

Hello @Sebastian Krzyzanowski 

In my opinion, this is the intended behaviour of the application. As soon as we prefix the text with a minus char ('-'), the Jira application starts treating it as a project key followed by a hyphen and looks for the relevant issue key.

Before we type the hyphen ('-') or the minus char ('-'), the string is treated as normal text and searched for in the summary of all available tickets.

Sebastian Krzyzanowski
Contributor
November 17, 2021

Thanks Guarav - I guess, it's the same with numbers (my second question)... as soon as a number is entered, JIRA strats treating the input as a project key as well :-/

Hence a Summary like "Req-[Number] [Text]" can't be found NEITHER by searching for 'Req-' NOR by searching for '[Number]'. It seems, I have to change the summary from "Req-[Number] [Text]" to something like "Req[Number] [Text]" (no '-') or "Req_[Number] [Text]" ('_' instead of '-').

Doesn't make me happy, but at least I understand now what JIRA does... and how to work around this.

Sebastian Krzyzanowski
Contributor
November 17, 2021

Update:

By chance we found out, that a Summary like "Req-[Number] [Text]" still CAN be looked up by searching for "Req-[Number]*" (adding a '*' at the end of the search term) *LOL*

I guess I don't want to understand this, but it works fine for us ;-)

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, team ’25 europe, virtual access, catch team 25 virtually, anytime anywhere, hybrid event, atlassian conference, atlassian learning, ai teamwork, remote attendance, digital access pass, keynote livestream, product announcements, community events

Register for free Team '25 Europe digital access

Get your free all-access digital pass and don’t miss groundbreaking announcements, brand new features and product updates, insight-packed sessions, and exclusive digital content.

Sign up
AUG Leaders

Upcoming Jira Events