Search gadget that shows results on a standard JIRA issues result page?

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.

2 answers

0 votes

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.

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?

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?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

419 views 7 5
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