It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

hello,

 

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
StCranford Atlassian Team Oct 02, 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?

Cheers,
Shawn

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

Confluence Server & Data Center 7.0 is here!

Hello Community 👋🏼 I’m Makisa, a product manager on Confluence Server and Data Center. Confluence Server & Data Center 7.0, our latest platform release, is now available and we wanted to shar...

297 views 2 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you