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
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,525 views 25 14
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