It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How can I exclude ONLY attachments from the livesearch macro?

Hi,

I am using the livesearch macro, and I noticed that it is showing up various file attachments in the immediate results, which I don't want.

Is there a method to configure the plugin to specifically exclude attachments whilst still returning results for every other content type?

I attempted to use the macro shortcut with the parameters:

type=page,comment,blogpost

 

However this seems to not recognise the types that I have defined, and defaults back to the selection of "All" content types when I edit the macro configuration.

Thank you!

1 answer

0 votes

Hello James,

Thank you for contacting us. 

There's not a way to exclude attachments from the LiveSearch macro. Although a feature request was raised for this in the past, it was closed as we don't have plans in the near future to implement this. Have a look below:

  • CONFSERVER-53475 Add Filter on LiveSearch Macro to Include/Exclude Attachments from Search Results

You might be able to use one of the many Search add-ons on Marketplace for this, or write your own User Macro if you are comfortable with that.

I'm sorry that I didn't have better news for you.

Take care,

Shannon

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

What project did you transition or start on Confluence with the shift to remote work?

It’s been great to hear from fellow users over the last few weeks about the best tips and fun moments you’ve had working on Confluence since the transition to working remote. I’d love to keep the c...

158 views 3 8
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you