How can I exclude ONLY attachments from the livesearch macro?

James Bedwell September 2, 2019

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
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 12, 2019

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
AUG Leaders

Atlassian Community Events