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.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Search for key doesn't show issue in list, but pressing Enter opens it

Karl Friberg December 14, 2018

Our users want to use the search to find issues by number (key), e.g. entering 1234 instead of PREFIX-1234.

Using the search top left, the resulting list shows issues with Summary and Description(?) containing "1234". Not the issue "PREFIX-1234", as they want.

But when hitting Enter, issue PREFIX-1234 is opened, which in itself is good, but is a problem since we have aorund 20 different projects on the site.

My question is; How can the users find PREFIX-1234 without the prefix in the most easy way?

2 answers

2 accepted

2 votes
Answer accepted
Jamil Rahimov
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 14, 2018

You can add issue key(without prefix) to summary with  script.
After that you can search issue using jql for summary.
You can see in the image:
1.PNG

Karl Friberg December 14, 2018

Thanks :-) we will think about using this.

Jamil Rahimov
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 14, 2018

Not at all :)

Troy Anderson
Contributor
August 2, 2022

@Karl Friberg

@Jamil Rahimov 

Is this still the only solution to allow consistent searching by the numeric portion of the issue key at all search interfaces?

1 vote
Answer accepted
Tarun Sapra
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 14, 2018

Hello @Karl Friberg

When you search, then that search is Jira wide thus just searching for "1234" will give you issues with summary having 1234 in their text so this is expected behavior.

But when you hit enter then you go to project which is last viewed by the user, so if the project is PREFIX then PREFIX-1234 is searched.

Suppose you are working on the project XYZ and you when 1234, then Jira will try to open issue XYZ-1234 and if it doesn't exist you see the error on the screen "You can't view the issue" because it doesn't exist. 

Karl Friberg December 14, 2018

True, thanks! My wish was perhaps - since you are logged in - that the search is limited to projects you have access to.

Jamil Rahimov
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 14, 2018
Tarun Sapra
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 14, 2018

Hello @Karl Friberg

The search is always limited to the projects which the users have "Browse permissions"  but Jira wide based on user activity i.e. users will never see a projects in the search auto-results which they dont' have access to ( don't have browse project permission). 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events