Forums

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

Insert JIRA macro displayed as single item using REST API

Michelle
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 27, 2025

Hi, 

I know that inserting a jira macro to confluence via rest api is by passing as body the following code:

<ac:structured-macro ac:name="jira" ac:schema-version="1">
<ac:parameter ac:name="jqlQuery">key=JIRA-1234</ac:parameter>
</ac:structured-macro>
The code above displays the issue as a table like below:
jiraMacro_table.png

However, I want it to be displayed as a single item like below:
jiraMacro_singleIssue.png

I have also tried the following code:

<ac:parameter ac:name="display">"single issue"</ac:parameter>

but it does not work.

Any tips?
Or is this even possible?

1 answer

1 accepted

1 vote
Answer accepted
Michelle
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 27, 2025

Soo, I just found the solution to my problem, a very simple tweak to the code above.

<ac:structured-macro ac:name="jira" ac:schema-version="1">
<ac:parameter ac:name="key">JIRA-1234</ac:parameter>
</ac:structured-macro> 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events