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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,927 views 27 12
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