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 vote
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 Join to answer
Community showcase
Teodora [Botron]
Published Feb 15, 2018 in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

1,138 views 6 19
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot