Hi,
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)?
Pedja.
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?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, I totaly agree with you. Unfortunately I have to automaticaly jump to another page when I click a search button on the gadget. I was thinking maybe to render a link as you proposed and then click it programaticaly using jQuery. Does that make sense to you?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.