search project in JIRA v6.4.5

Since upgrading to JIRA v6.4.5 searching for a project no longer works.

From the Project dropdown menu, select View All Projects

From the project list view, begin typing in the search box.

The search picks up the first letter you type, but nothing after the first letter. We have tried re-starting and re-indexing (a full locked re-index) and we are still unable to search projects.

10 answers

1 accepted

This widget could not be displayed.

We were able to resolve this issue by ensuring all projects had a Project Lead. For some reason, a null value in this field prevented the search. Once we added a Project Lead to all projects that did not have one assigned, search began functioning as expected.

This widget could not be displayed.

Hi, guys.

This was reported as a bug on https://jira.atlassian.com/browse/JRA-43888

I'd advise you to add yourself as watchers to the bug report to receive any updates on it by email. The workaround is indeed to:

Workaround

  1. Find all the projects with the same problem from JIRA Administration -> Projects
  2. Go to their Administration Panel -> Roles -> update Project Lead to an Active User

Cheers,
Matheus 

This widget could not be displayed.

I have just tested it locally on JIRA 6.4.5 but it worked without any issues.

Try using the Refresh Client Resources link on the Look and Feel page and see if it helps!

Matheus, Thank you for the response and the suggestion. Unfortunately, refreshing the client resources did not change the situation.

This widget could not be displayed.

I'm seeing similar behavior in instances that were recently upgraded to v6.4.7. In our case not even the first letter  typed is searched against.

Re-indexing did not resolve the issue.

This widget could not be displayed.

Can you please check the following and let us know the results?

- Is this happening to all users?
- Can you replicate this in different browsers?
- In case you are using SSL or proxy, does this problem occurs by-passing it (accessing using http://<IP_ADDRESS>:<PORT>)?
- Check if by running the safe mode, the problem still occurs. By doing this, we can be sure if the problem is plugin-related or not. If everything works properly on safe mode, try to enable one by one to see which one is the culprit.

Cheers,
Andre 

This widget could not be displayed.

Hi there,

Same issue here using JIRA 6.4.7

using http direct access in an SSL configured instance probed to be pointless as I won't even get pass authentication.

Not everything is lost though, here below is the error I get in Chrome console when typing text while No category or all projects is already selected.

Indeed after I left text in the text box and use the No Category or All Projects link the error is like in the second part of the screenshot below.

Definitely something isolated to those two 'Categories'

Hopefully that will give you information to keep digging.

 

image2015-7-21 16:39:43.png

 

Forgot to add the error as text to make it Google friendly

Uncaught TypeError: Cannot read property 'toLowerCase' of null

 

This widget could not be displayed.

I get exactly the same messages in the Chrome console as Javier does.

In the FireFox console I get "TypeError: item.lead is null"

 

To answer the other questions:

- Is this happening to all users?

Yes


- Can you replicate this in different browsers?

Yes, I can replicate in both Chrome 43 and FireFox 39.


- In case you are using SSL or proxy, does this problem occurs by-passing it (accessing using http://<IP_ADDRESS>:<PORT>)?

There is no way around the reverse proxy. (There wouldn't be much point in having one if you could)


- Check if by running the safe mode, the problem still occurs. By doing this, we can be sure if the problem is plugin-related or not. If everything works properly on safe mode, try to enable one by one to see which one is the culprit.

Enabling safe mode for plugins makes no difference.

This widget could not be displayed.

That's a good find!

I found two projects with no project lead and assigned the admin user to those projects, now search is working for all project categories except for the "All projects" category. It still does not work there...

This widget could not be displayed.

I found one more project which had a deleted user assigned as the Project Lead, once I fixed that I was able to search all projects.

Patrick, So glad this is working for you now!

This widget could not be displayed.

Hi All,

I am facing the similar issue.

Project Search is not working within ALl projects, whereas it is working finr within Project category.

Also, there is no project without LEAD.

SELECT pname, pkey, lead from project WHERE lead NOT IN (SELECT user_name FROM cwd_user); -- no rows selected

I ttested in both Chrome & firefox, issue replicated.

I enabled plugin safe mode, still the issue persisted.

I also tried  using the Refresh Client Resources link on the Look and Feel page, but it also did not help.


Can anyone give any pointer on how to troubleshoot this fuether.


Regards,
Barnali 

 

Use this query (or similar) to find projects with leads of actually deactivated directories:

 

SELECT p.pkey, p.lead, directory_id
FROM project p
JOIN cwd_user u ON (u.lower_user_name = lower(p.lead))
JOIN cwd_directory d ON (u.directory_id = d.ID)
WHERE d.active = 0


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

206 views 1 3
Join discussion

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you