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?
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:
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!
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.