For a blueprint in confluence, how do I set the URL of a JIRA gadget?

I have created a blueprint with a gadget embedded inside it using the template.  But the gadget requires a "url" in it which points to the JIRA instance.  How do I generisize this URL to point to the JIRA application link.

        <ac:structured-macro ac:macro-id="bf566aea-5da6-4368-87ce-e8c61e6c553c" ac:name="gadget" ac:schema-version="1">
          <ac:parameter ac:name="preferences">projectOrFilterId=filter-17634&amp;periodName=daily&amp;daysprevious=180&amp;isCumulative=true&amp;showUnresolvedTrend=false&amp;versionLabel=major&amp;isConfigured=true&amp;refresh=false</ac:parameter>
          <ac:parameter ac:name="url">https://mycompany.com/rest/gadgets/1.0/g/com.atlassian.jira.gadgets:created-vs-resolved-issues-chart-gadget/gadgets/createdvsresolved-gadget.xml</ac:parameter>
        </ac:structured-macro>

If I look at the HTML for the JIRA Search macro, then the server uses the Application Link name.

0 answers

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,908 views 27 12
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