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

Error when adding Test Execution Progress macro on Confluence Page Edited

Hello,

I am trying to add a donut graph of our Automated Test Suite to a confluence page via the "Test Execution Progress" Macro. However, when I add this in, the macro only displays

"No data found !"

There is another macro called "Test execution" that is a bar graph and it displays the information correctly. 

These are both connected to Zephyr test cycle executions, and both of these macros work in our JIRA instance. But when I add the Macro to confluence, i just get the error mentioned above.

Is this a known issue or is there a fix? Anyone else see this? Thanks!

 

Here's a screenshot of the Macro after saving the changes on the confluence page:

Screen Shot 2020-01-27 at 2.04.35 PM.png

2 answers

I wonder if anyone can confirm it's this issue that has been present since 2016(!) 

https://jira.atlassian.com/browse/CONFCLOUD-53622

no. doesnt seem to be the same. This is related to zephyr tests. in jira dashboard, the same macro chart builder works. but fails when added in confluence. Mine seems to be an issue when theres multiple folders added. 

Like Vijay_Chand likes this

Thank you for your reply. Yep, i do have these graphs in JIRA dashboards and they are working. 

Hello,

The issue still persisting as of today. Anyone got any pointer/workaround/resolution on this please?

Thank you!

Hi,

In the Confluence page source the  "Test Execution Progress" Macro will be added as something like below.

<p>
<ac:structured-macro ac:macro-id=macro_id ac:name="gadget" ac:schema-version="1">
<ac:parameter ac:name="preferences">folders=null&amp;cycles=1234&amp;cycleExecutionStatusName=Test%20Execution%20Progress&amp;projectId=5678&amp;version=000&amp;chartType=pie&amp;showProjectName=true&amp;showVersionName=true&amp;isConfigured=true&amp;refresh=false</ac:parameter>
<ac:parameter ac:name="url">jira_url</ac:parameter>
</ac:structured-macro>
</p>

 

The issue is basically because Folder value is given as empty and it coming as null in macro folders=null. So as a workaround, removing this worked for me. Like below

<p>
<ac:structured-macro ac:macro-id=macro_id ac:name="gadget" ac:schema-version="1">
<ac:parameter ac:name="preferences">cycles=1234&amp;cycleExecutionStatusName=Test%20Execution%20Progress&amp;projectId=5678&amp;version=000&amp;chartType=pie&amp;showProjectName=true&amp;showVersionName=true&amp;isConfigured=true&amp;refresh=false</ac:parameter>
<ac:parameter ac:name="url">jira_url</ac:parameter>
</ac:structured-macro>
</p>

 

Hello @Cdnyoung ,

have you contacted Zephyr? We are experiencing the same issue.

Thanks for the reply, just getting around to it actually. I'll update here if/when i hear back.

They told me it's an error with Confluence and i should contact Atlassian instead. Or I could buy the Zephyr Blueprints...

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

8,465 views 6 6
Join discussion

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