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 vote
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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

387 views 17 9
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