I'm implementing gadget that searches issues using JQL. The problem is that search results should be displayed on a separate page-the page where issues are shown after standard JIRA search and not in the gadget's iframe. So, I guess I should do a search from a gadget and then redirect or forward to a 'issues result' page to display the results. All examples I found display results in a gadget's iframe.
Can anybody point me to an example how to do this (if possible at all)?
The whole point of a gadget is that it contains whatever you are trying to render, so "separate page" doesn't make a lot of sense in terms of a gadget.
There's absolutely nothing wrong with putting links to other things in a gadget, so that a click on the link takes you to a results page. And really, it is *just* a link you need to generate and display in your code. I wouldn't try to provide any results page inside the gadget itself though, I'd write a report or issue-navigator view separately (although I might bundle it into the same plugin) and then make the gadget link to that.
I am confused as well, like the comment below said, I don't see the reason. As stated, adding this gadget to my dashboard would basically prevent me from staying on the dashboard and instead always redirect me to the search results page? Or do you want the gadget to first present a couple search fields to the user, and then when clicking the button, it would display the results in the normal filter view based on their inputs?
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot