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

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 in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

1,099 views 7 0
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