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
Community showcase
Published Nov 29, 2018 in New to Confluence

How to use Confluence Cloud for stakeholder management

Most of us don’t need much convincing that stakeholder management is important. It just makes sense that keeping everyone in-the-know on projects and assigning clearly defined roles is key to having ...

1,215 views 4 6
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