Forums

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

issue with automatically creating different and multiple Issue Macros in confluence page

Alexandra-Mihaela Apostol July 6, 2022

Hello,

I have a Listener in ScriptRunner that based on the create version event in JIRA it triggers the creation of a Confluence page containing several issue macros with different types of information. 

Let's assume I have 3 issue filter macros that are created using wiki markup once the Confluence page is created .

The issue is that once the page is created, the 3 tables contain only the values of the first table (so basically the other 2 tables shows the data from the first table even though if I edit the 2 macros from page edit, the correct filter appears in the macro browser). 

This might be a cache issue, but I not sure how I should proceed. I already added the cache parameter to false: 

 

{jiraissues:anonymous=false|url=" + url + "|columns=type;key;summary;due|title=" + jiraIssues.get(i) +"Dates|cache=false}

 

Can you please help?

Thank you!

 

 

 

2 answers

0 votes
Alexandra-Mihaela Apostol August 3, 2022

This functionality was also reported by Atlassian confluence support team. It seems to be an already documented bug: CONFSERVER-52556 - Multiple JIRA Issues Macros inserted via markup are showing the rest of the first JQL

0 votes
Alexandra-Mihaela Apostol August 3, 2022

I found out that there was no issue with the ScriptRunner listener. Issue was solved by using Confluence storage format instead of Confluence wiki markup when creating the 3 filters on the Confluence page. Using Confluence storage format, the filters are refreshed correctly. 

My conclusion is that there is an issue from Atlassian when creating multiple macros using the wiki markup in Confluence. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events