markup syntax for "Two Dimensional Filter Statistics Gadget"

Hello everyone!

I have a project status page that I generate from a script in wiki markup language.  I would like to add a "Two Dimensional Filter Statistics Gadget" to this page with the x-axis configured to show "Severity" and the y-axis configured to show "Priority".

I am able to add this using the Confluence editor, I can browse through the list of macros and add it, then configure it in the macro browser and it gives me what I want.

What I want to do now is create that same table using markup language only, so it can be part of my script-generated page.

Is it possible?

1 answer

0 votes
Ann Worley Atlassian Team Apr 24, 2017

You can view the storage format of the macro from viewing the page:

Click on the ellipsis (…) in the top right-hand corner and select *View Storage Format* from the dropdown. It will be similar to this:

<ac:structured-macro ac:name="jirachart" ac:schema-version="1" ac:macro-id="22f321d0-a368-4619-a51a-cd661e5a461a"><ac:parameter ac:name="server">JIRA</ac:parameter><ac:parameter ac:name="sortDirection" /><ac:parameter ac:name="jql">Project%3DBP</ac:parameter><ac:parameter ac:name="ystattype">assignees</ac:parameter><ac:parameter ac:name="chartType">twodimensional</ac:parameter><ac:parameter ac:name="width" /><ac:parameter ac:name="sortBy" /><ac:parameter ac:name="isAuthenticated">true</ac:parameter><ac:parameter ac:name="numberToShow">5</ac:parameter><ac:parameter ac:name="xstattype">statuses</ac:parameter><ac:parameter ac:name="serverId">0043eef6-9d1c-3300-995a-2200641517d4</ac:parameter></ac:structured-macro></p>


Thank you for your response, Ann, that sounds like exactly what I need.

My trouble is I don't see a "View Storage Format" option in my drop-down, I only see "View Source".  And "View Source" results in the macro being represented by a little picture, not the macro definition like you show.

Do you know how I can enable the "View Storage Format" option?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

157 views 4 1
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you