I am trying to display a Jira Gadget in Confluence, but I cannot get the proper URL. The best I have done is display the entire dashboard, but this does not display the actual gadgets themselves.
Any help would be greatly appreciated.
It looks like you're trying to put the JIRA dashboard URL into Confluence as the gadget URL - is that right? If so, that won't work.
What you need is the URL for each individual gadget. You can get this from the gadget directory in JIRA.
1) Go to the JIRA dashboard.
2) Click "add gadget" in the top right (if it's not there, you're probably looking at the read-only default system dashboard, so create a new, blank dashboard first). This brings up the gadget directory.
3) Under the name of each gadget is a URL. e.g. https://<server>/rest/gadgets/1.0/g/com.atlassian.jira.gadgets:assigned-to-me-gadget/gadgets/assigned-to-me-gadget.xml That's the URL of the gadget, and what needs to be pasted into Confluence.
I have tried this and I simply get the xml text displayed in full. I am running Jira 4.4.3 and Confluence 4.0.3. Shouldn't this mean that I should insert gadgets and not portlets?
The insert option I see in Confluence is Jira Portlet. Is there a compatibility issue here that I am not seeing? Or perhaps an option to insert Jira Gadget that we are missing for some reason?
Without being able to see what's happening, it's hard to know how my mental image of what you're doing is different from what's actually happening. So I've quickly set up a JIRA and a Confluence instance locally and recorded a video of setting up the applink and then setting up the gadget. The JIRA version is 4.3.4 and Confluence is 4.0, but it should be be exactly the same in your versions.
The JIRA window is on the left and the Confluence is on the right.
Hope this helps,
Will this allow me to display the dashboard results from Jira in Confluence? Because there are no configuration options to let me choose what is displayed when I add this gadget.
I have added our Jira to the whitelist and I have inserted the gadget URL as you suggested. I just cannot configure to tell it what to display.
I know the link between our Jira and Confluence is active, because I can put issue links in.
i'm not sure what do u want to configure, the gadget configuration is done thought jira, you only get to choose the gadget, either (pie chart or assigned to me) which are the ones added on the external gadget.
if you wish to configure the result, you might consider the jiraissue macro
It’s been great to hear from fellow users over the last few weeks about the best tips and fun moments you’ve had working on Confluence since the transition to working remote. I’d love to keep the c...
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