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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

unwanted content type with Live Search macro


I'm using the  Live Search macro on a space in which some pages have PDF files attached. 

When I type a search term in the  Live Search search bar, I obviously get the pages with that term but also, and that's unwanted, the pdf files with that term in their filenames.

How can I avoid those files to appear in the search results?



1 answer

1 accepted

0 votes
Answer accepted

just remarked that if I select 'page' in the custom content type in the search results page, it returns only pages and no attachment. 
But if I select 'page' in the Content type to include in search in the macro definition, I get the behavior described in my first question.

However I'd like that my results would not get polluted by those filenames, right when I click on the magnifying glass.

Steffen Burzlaff _K15t_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
Apr 25, 2023

Hey @EtienneD

Are you PDFs somewhere linked on your pages you try to search through?
If not I'd say this is a bug in the macro I'd expect that if you select the content type "page" that it would only search through it.

But if the PDF is linked on that page - it might be a wanted behaviour from how this macro was developed. I still wouldn't expect this to be happen, though.

In both cases I'd reach out to Atlassian Support and report this being an issue.


thanks @Steffen Burzlaff _K15t_ for your answer.

Well, the PDFs are attached to the pages so they are linked to those pages, indeed.To test a little bit deeper, I found some files referenced in the search results that do not have the searched term in their filename nor in their content.

The searched term is found  in the attached file although it does not appear anywhere in the page:

  • not in the page's title
  • not in the page's content
  • not in the filename
  • just in file's content.

I understand that in some cases such a behavior can be wanted, but in my case it is not.

Should I consider this a bug ? 

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events