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

This widget could not be displayed.
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 yesterday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

170 views 2 4
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