Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Searching Confluence for macroName:jiraissues* does not work

Chad Goodrich April 5, 2019

We have many pages in our Confluence spaces that use the Jira issues macro. Trying to use the advanced search to display pages that use this macro does not return any results.

macroName:jiraissues*

What am I doing wrong? 

Also is there any way to search for part of a query within that macro?

1 answer

1 vote
Diego
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 8, 2019

Hello there Chad!

The only thing that is not right in your query is that jiraissues is the name given to one of the modules under the Jira macro.

If we look at the page storage format, we see that the macro itself is named Jira:

 <ac:structured-macro ac:macro-id="MacroId" ac:name="jira" ac:schema-version="1">
<ac:parameter ac:name="server">Jira</ac:parameter>
<ac:parameter ac:name="columns">key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution</ac:parameter>
<ac:parameter ac:name="maximumIssues">20</ac:parameter>
<ac:parameter ac:name="jqlQuery">creator=currentUser() </ac:parameter>
<ac:parameter ac:name="serverId">serverID</ac:parameter>
</ac:structured-macro>

If you change your query to:

macroName:jira

It should work. You can take a look at this here:

CQL Field Reference - Macro

 

Now, could you clarify what you meant by : "is there any way to search for part of a query within that macro?"

You want to look for the JQL that was sent within the macro itself?

Looking forward to your reply!

Chad Goodrich April 8, 2019

Thank you Diego. That clarifies things.

I was hoping to find only pages that display list of issues from a query. Using macroName:jira returns any time a single Jira issue is linked as well.

We changed a Jira field name and we wanted to know what impact it had on Confluence pages. So yes, we wanted to look for the JQL that was sent within the macro itself to see if it contained the field name. However, even just returning only the pages that had the Jira macro which listed issues that were returned via JQL would be helpful.

Thanks again!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events