How to include code-block titles in search results

Our style of knowledge capture in Confluence ends up putting important information in code-block titles.  Every effort to get the Confluence search to find pages by specifying code-block title content has failed.

1 answer

0 votes
Ann Worley Atlassian Team Sep 18, 2017

Thank you for bringing this up. We had a ticket open: Search by title of the macro and it was closed as a duplicate of Confluence search is broken for data within content elements, such as URLs in links, parameters in macros, image names on pages. However, this private comment indicates that the macro title search was not fixed:

...the fix of this issue just allows user to search page by inserted links or attachment names. Currently we do not allow user to search by macro parameters. 

I am contacting the developer responsible for re-opening bugs to see if we can resurrect Search by title of the macro.

For now the only workaround I can think of is to include something in the body of the page that you can search on.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,034 views 2 13
Read article

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