Confluence - Can't add Jira Gadget (Invalid Gadget URL)


I am trying to add the Jira Pie Chart Gadget to Confluence. I am using the help page from Atlassian for that.

I try to insert the Gadget with the following url: https://<my-jira-url>:8080/jira/rest/gadgets/1.0/g/com.atlassian.jira.gadgets:pie-chart-gadget/gadgets/piechart-gadget.xml

Unfortunately I get the error message: Invalid Gadget URL

I also can't add a gadget feed.

Regarding that issue I found this help page. But I don't think this is the solution, because my jira and confluence are already running on different context paths. (/jira/ and /confluence/ and with different ports 8080 and 8090)

Any ideas? :)

1 answer

1 accepted

1 vote
Accepted answer


Is your Base URL configured as https://<my-jira-url>:8080/jira? check this in General Configuration in your JIRA administration.

When I get this url for a gadget I usually:

  • open a dashboard in JIRA
  • click Add Gadget
  • Find your gadget
  • Right-click the URL shown in the gadget and select Copy Address

Then I know I get the correct address

It looks suspicious with https and port 8080. Do you have a reversed proxy in front of JIRA maybe?


// Svante

Yes, these are my urls:


And the way you described to get the url, was exactly what I did. Initially the urls were just :8080 and :8090, but the interaction between confluence and jira wasn't working, so we changed it (that is what is adviced in the Atlassian help). For example the Jira Issue Gadget/Macro works fine.

You were right, that was kind of the issue.

I used the link without https and I could add them, but I cannot use it. The macro hasn't any options to configure which Pie Chart to use (there is just a parameter for the height and the author).

Additonaly the icon of the Pie Chart is broken.

I also got that problem working with the help of:

(Changed the name of the server with the IP address).

Another problem occured: I couldn't choose a Filter or Project, because the Drop-Down-menu seemed kind of hidden. I solved this by just entering 1 letter and then press the "Print" or "Scroll Down" key....

Next issue: Could add a gadget, but looks like this:

Does it happen in all gadgets or only certain ones? Any redirection or proxy in between?

Yeah proxy. :(

This keyword was a big help! Thanks! Configured the ip into the App link, and now I am really happy :)


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,028 views 51 8
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