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


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)?


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
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,051 views 4 9
Read article

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