are confluence macros (generating html) executed in series or in parallel?

Alexander Hansen October 1, 2018



i'm maintaining a macro for confluence which makes REST requests to jira api.

however at any time there may be thousand instances of this macro on a confluence page.


my REST requests to jira api take 300 ms which a colleague told me is normal.


if the macros were executed in parallel that wouldn't be a problem but i don't know about that. please respond.


1 answer

0 votes
Shawn C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 2, 2018

Hi Alexander,

The calls are going to be run asynchronously in series against Jira and if there are thousands of these macros on a single Page, the page might timeout before we'll have results.

What are you trying to generate with these thousands of macros?
Are these macros something we can try to simplify down or is it possible to collect the Jira data externally using the Jira API and then update the page with the returned results using the Confluence API?


Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events