The Issue Filter macro fetches Jira issues using a JQL query and displays them in a styled HTML table within Confluence. It removes /wiki from the base URL, builds a search URL, and retrieves issues via the Jira REST API. For each issue, it fetches detailed data and outputs key information: issue key (with link), summary, custom problem description, status, assignee, and type. The data is shown in a table with five rows per issue
<style>
table {
width: 100%;
border-collapse: collapse;
}
th, td {
border: 1px solid #ddd;
padding: 8px;
}
th {
font-weight: bold;
}
</style>
#set ($baseUrl = $StringUtils.replace($baseUrl,"/wiki",""))
#set ($jql = $parameters.jql)
#set ($issuesUrl = "/rest/api/3/search/jql?jql=${jql}")
#set($issues = $JiraManager.get($issuesUrl))
<table>
#foreach ( $item in $issues.issues )
#set($issue=$JiraManager.get("/rest/api/3/issue/${item.id}"))
<tr>
<th rowspan="4" style="text-align: center;">
<a href="${baseUrl}/browse/${issue.key}">$issue.key</th>
<td>Summary</td>
<td>$issue.fields.summary</td>
</tr>
<tr>
<td>Status</td>
<td>$issue.fields.status.name</td>
</tr>
<tr>
<td>Assignee</td>
<td>$issue.fields.assignee.displayName</td>
</tr>
<tr>
<td>Type</td>
<td>$issue.fields.issuetype.name</td>
</tr>
#end
</table>Show filtered issues and their relations
Shows worklogs from the Jira issue
Display Confluence users filtered by their email addresses.
Space Information macro by space Id
Display Jira issue comments in a table
Find image within page attachments. Handy for reuse files and update them all at once
List out a table to display the assignee history for Issues by JQL. Shows the following information: Issue Key, Summary, and Assignee history
List issues (work items) from Jira to get essential information in a readable and well-organized format
Read and display the fixed version of Confluence pages by checking page or ancestor labels
Display and interact with an OpenAPI / Swagger specification directly in Confluence by rendering a fully featured Swagger UI from a provided JSON URL