| Name | Show Saved Filter With Columns |
|---|---|
| Version | 0.97 |
| Product Versions | 3.6+ |
| Author(s) | Jes A |
| Homepage | n/a |
| Price | Free! |
| License | None (Free) |
| JavaDocs | n/a - see source |
| IssueTracking | http://developer.atlassian.com/jira/browse/FLTR |
| Download JAR | jira-plugin-searchrequestportlet.jar |
| Download Source | searchrequest_source.zip |
Description/Features
Show Saved Filter With Columns extends the standard Show Saved Filter portlet. It consist of two portlets, that will allow one to chose which columns to show by either using the saved filters column order, or by selecting the columns during portlet configuration.
Usage and Installation
- Copy the JAR to WEB-INF/lib inside your JIRA web application.
- Restart JIRA
- Now you can add the Show Saved Filter With Columns or the Show Saved Filter Select Columns portlet to your Dashboard.
Examples

Version History
| Version | Comment |
|---|---|
| 0.97 | Bug fix. Portlet can be initiated by the direct URL. (Better exception handling) |
| 0.96 | No new features or bug fixes, just simplified code. |
| 0.95 | Added a portlet which enables one to chose from the portlet configuration which columns the portlet will show. |
| 0.94 | Now using the same column heading labels as the Issue Navigator. See David Demner's comment from Sep 27. |
| 0.93 | Now with fewer errors in log. |
| 0.92 | Bug/Feature fix, Neal's comment from Sep 15. |
| 0.91 | Extends the com.atlassian.jira.portal.portlets.SearchRequestPortlet and uses (almost) the same velocity file. |
| 0.8 | Initial upload |

Comments (75)
Sep 06, 2006
Neal Applebaum says:
Hi Jes thanks for this nice job. I installed it on my live installation and it l...Hi Jes - thanks for this - nice job. I installed it on my live installation and it looks great. If you have time, here are a few suggestions:
Maybe I can do this if I edit the source?
I am guessing the .vm file line 7?
Filter: <a href="$tools....
By looking at the source, it looks like it should be suppressing the parentheses if the filter has no description. Odd that it didn't for me after I renamed the filter.
I've also linked your page to issue JRA-5121.
Cheers,
Neal
Sep 07, 2006
Vincent Thoulé says:
Hi Jes, What Practical portlet ! Just a small remark, the HREF to Filter is ba...Hi Jes,
What Practical portlet !
Just a small remark, the HREF to Filter is based on $tools.getBaseurl(), which may not be correctly updated. You should you $req.contextPath.
Rgds
Vincent
Sep 07, 2006
Vincent Thoulé says:
Hi Jes, Please, find attached the Binaries and Source of new release of your pl...Hi Jes,
Please, find attached the Binaries and Source of new release of your plugin with following enahcement :
Let me know if your plugin is hosted on Atlassian SVN.
Rgds
Vincent
Sep 11, 2006
Jonathan Nolen says:
Jes, If you'd like to host this plugin in Atlassian's SVN repo (and we'd love fo...Jes, If you'd like to host this plugin in Atlassian's SVN repo (and we'd love for you to) just contact me at developer-relations@atlassian.com and I'll hook you up.
Cheers,
Jonathan
Sep 07, 2006
Neal Applebaum says:
Vincent can you attach a .jar file for us too? I don't know (I tried, unsuccessf...Vincent - can you attach a .jar file for us too? I don't know (I tried, unsuccessfully) how to build a .jar file from your source. Which is why I couldn't edit Jes' source either.
Thanks
- Neal -
Sep 07, 2006
Vincent Thoulé says:
Hi Neal, The Sources jirapluginsearchrequest0.9.zip and Binaries jirapluginsear...Hi Neal,
The Sources and Binaries are already attached to this page.
How to process ...
mvn -f pom.3.6.4.xml install
mvn install
Rgds
Vincent
Sep 07, 2006
Neal Applebaum says:
Sorry Vincent, I appreciate the detailed instructions but that's far too complic...Sorry Vincent, I appreciate the detailed instructions but that's far too complicated for me to follow.
Sep 07, 2006
Neal Applebaum says:
And one more thing just noticed a typo in the portlet description: "with is colu...And one more thing - just noticed a typo in the portlet description:
"with is columns" instead of "with its columns"
Sep 08, 2006
Jes A says:
Hi Vincent and Neal, Thanks for you comments, appreciate it. Vincent, will have ...Hi Vincent and Neal,
Thanks for you comments, appreciate it.
Vincent, will have a look at your suggestions. Don't know what Atlassian SVN is. I use Eclipse, but without maven.
Neal, Will probably adopt Vincent's CSS style modifications, and at same time correct the typos you have found and implement your design suggestions.
Jes
Sep 09, 2006
Jes A says:
I have uploaded a new version. It just extends the com.atlassian.jira.portal.por...I have uploaded a new version.
It just extends the com.atlassian.jira.portal.portlets.SearchRequestPortlet and uses (almost) the same velocity file.
This way it should be more consistent with the original Atlassian portlet.
/Jes
Sep 10, 2006
Neal Applebaum says:
Jes I appreciate the extra effort, but when I installed the new version, my JIRA...Jes - I appreciate the extra effort, but when I installed the new version, my JIRA just crashed - I think when it encounters a user trying to display a portal that was set up with the old version of the portlet. Here's the error message:
ERROR [jira.portal.portlets.SearchRequestPortlet] com.atlassian.configurable.ObjectConfigurationException: Could not get Long from
com.atlassian.configurable.ObjectConfigurationException: Could not get Long from
at com.atlassian.jira.portal.PortletConfigurationImpl.getLongProperty(PortletConfigurationImpl.java:128)
at com.atlassian.jira.portal.portlets.SearchRequestPortlet.getSearchRequest(SearchRequestPortlet.java:35)
at com.atlassian.jira.portal.portlets.AbstractSearchResultsPortlet.getVelocityParams(AbstractSearchResultsPortlet.java:49)
at com.atlassian.jira.portal.portlets.SearchRequestPortlet.getVelocityParams(SearchRequestPortlet.java:84)
at com.ja.jira.plugin.searchrequestportlet.SearchRequestPortlet.getVelocityParams(SearchRequestPortlet.java:59)
at com.atlassian.jira.portal.PortletImpl.getViewHtml(PortletImpl.java:64)
at com.atlassian.jira.portal.portlets.AbstractRequiresUserPortlet.getViewHtml(AbstractRequiresUserPortlet.java:25)
at jsp_servlet.secure._views.dashboard._jspService(_dashboard.java:2969)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at com.atlassian.jira.web.filters.AccessLogFilter.doFilter(AccessLogFilter.java:51)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
...
What I had to do was disable the module to allow users using the portlet to remove it, and then re-add it. For people who never used the first version, it's likely not an issue. In any case, I appreciate you sharing your work with the rest of us. I could never have gotten JIRA in use as a helpdesk at my company without user-contributed improvements like yours.
P.S. - the typo in the portlet description is still there
Sep 11, 2006
Jes A says:
Hi Neal, When installing the new version the portlet must be removed and added t...Hi Neal,
When installing the new version the portlet must be removed and added to the dashboard again, because it uses different parameters now. The advantage is that it's actually the exact same parameters as the Atlassian Show Filter portlet.
Can't promise that something like that won't happen again - that's why it hasn't passed version 1.0 yet.
The typo has been corrected - but unfortunately only in the default properties file. But anyway, my English sucks, so if you can provide a better description I would be glad to upload a new version.
/Jes
Sep 11, 2006
Neal Applebaum says:
Ok Thanks for confirming that. For anyone reading this, I removed my existing po...Ok - Thanks for confirming that. For anyone reading this, I removed my existing portlets directly:
select * from jira.portletconfiguration where portlet_id=
'com.ja.jira.plugin.searchrequest:SearchRequestPortlet'
(To find them)
select * from jira.portalpage
where id in
(select portalpage from jira.portletconfiguration where portlet_id=
'com.ja.jira.plugin.searchrequest:SearchRequestPortlet')
order by username
(To find the users using them)
delete from jira.portletconfiguration where portlet_id=
'com.ja.jira.plugin.searchrequest:SearchRequestPortlet'
and portalpage in (10240,10220)
(To delete the ones for users I knew were using the old portlet)
Cheers
-Neal-
Sep 13, 2006
Jes A says:
Hi Neal, I hope that Jira didn't crash completely, but only the portlet? Another...Hi Neal,
I hope that Jira didn't crash completely, but only the portlet?
Another approach would be just to configure the portlet again. That way, when it's saved, it will use the right parameters.
/Jes
Sep 13, 2006
Neal Applebaum says:
Yes what happened is that as soon as a user visited a page with the old portlet,...Yes - what happened is that as soon as a user visited a page with the old portlet, JIRA completely crashed. I had to restart it, and eventually my server ran out of memory and I.T. had to work some magic to get it back up again. To prevent this, I disabled the module before a user could visit the page. Then, when visiting the page it gives a message that the portlet is unavailable, but then it can be deleted.
Sep 15, 2006
Neal Applebaum says:
Jes I found another bug (although it doesn't seem to crash all of JIRA). If a us...Jes - I found another bug (although it doesn't seem to crash all of JIRA).
If a user has configured a portlet to show a saved filter, and then they delete the filter (or the owner does), JIRA presents, in its place, a message like this:
(Edit Portlet | Delete Portlet) This portlet is no longer valid as the associated filter or field could not be retrieved.
But, in the case of your portlet, JIRA just presents a blank page (no error in the log).
Sep 15, 2006
Jes A says:
I wouldn't call it a bug. More like a feature which isn't implemented ;)I wouldn't call it a bug. More like a feature - which isn't implemented
Sep 15, 2006
Jes A says:
Hi Neal, has just uploaded a new version, 0.92, which fix the issue above. Remem...Hi Neal, has just uploaded a new version, 0.92, which fix the issue above. Remember to try it out in a test environment first
Cheers Jes
Sep 15, 2006
Neal Applebaum says:
Good job. It worked perfectly. getting close to 1.0, eh?Good job. It worked perfectly. getting close to 1.0, eh?
Sep 15, 2006
Neal Applebaum says:
Actually I may have spoken too soon. It seemed to be OK, but I do have a lot of ...Actually - I may have spoken too soon. It seemed to be OK, but I do have a lot of errors in the logs. like ERROR [jira.plugin.searchrequestportlet.SearchRequestPortlet] java.lang.IllegalArgumentException: SearchRequest cannot be null.
Not sure if this is related or not yet.
Sep 16, 2006
Jes A says:
See version 0.93. Should have fewer errors in log.See version 0.93. Should have fewer errors in log.
Sep 16, 2006
Neal Applebaum says:
Great no errors at all in the log. Thanks.Great - no errors at all in the log. Thanks.
Sep 27, 2006
David Demner says:
Jes, this is a great and muchneeded plugin. I just have one comment in the ...Jes, this is a great and much-needed plugin.
I just have one comment - in the existing Show Saved Filters portlet, "Request Type" shows up as "T" and Priority shows up as "Pr" - would it be possible to make this change for your plugin too?
Sep 28, 2006
Jes A says:
Thanks for this. Uploaded a new version, 0.94, which now uses the same heading l...Thanks for this. Uploaded a new version, 0.94, which now uses the same heading labels as the Issue Navigator.
Sep 28, 2006
David Demner says:
Great\! Our users are really loving this...Great! Our users are really loving this...
Sep 27, 2006
Konstantin Goldin says:
Thsi is trully a great plugin, thank you. I can see that it adds a lot of value ...Thsi is trully a great plugin, thank you. I can see that it adds a lot of value to the user setting up this portal for his/her needs.
In our dev organization we have default dashboard, and objective is for everybody to see the same columns. for exmaple, for unresolved issues, we want to show type, id, priority, summary, and due date. I have configured by Issue Navigator with these columns, and portal on my page shows exactly what I need. However, for everybody else it shows columns that everybody else has setup in their account.
Is their a way to force a particular set of columns to appear in this portlet?
Thank you,
Konstantin
Sep 28, 2006
Jes A says:
Hi Konstantin, > Is their a way to force a particular set of columns to appear i...Hi Konstantin,
> Is their a way to force a particular set of columns to appear in this portlet?
I'm not sure that I understand the question, because the generally idea with the portlet is to be able to do that.
Be sure that you have actually added a "Column Order" for the filter. Otherwise it will just use each users default column order from the Issue Navigator.
Sep 28, 2006
Neal Applebaum says:
<echo> What Jes said </echo> Once you set a column order for a filter, it will s...<echo>
What Jes said
</echo>
Once you set a column order for a filter, it will show those columns for everyone who uses the shared filter.
Oct 24, 2006
Neal Applebaum says:
Hi Jes it still amazes me what you've been able to accomplish (that Atlassian ha...Hi Jes - it still amazes me what you've been able to accomplish (that Atlassian hasn't provided). One question, though. We are using your original version in our production environment. If I upgrade to the new one, will it be backwards compatible? If not, we could be facing a problem. Let me know.
Thanks
- Neal -
Oct 24, 2006
Jes A says:
I haven't had any problems when upgrading and I can't see any reason for there s...I haven't had any problems when upgrading and I can't see any reason for there should be. But I would anytime recommend you to try it out in a test environment and not directly in production.
Oct 24, 2006
Neal Applebaum says:
Oh.. nevermind I didn't notice at first that these were 2 different portlets. So...Oh.. nevermind - I didn't notice at first that these were 2 different portlets. So the new one will have no effect on the old one. Thanks - great work!
Oct 24, 2006
Jes A says:
Neal, please do not use version 0.95. There is nothing wrong with it, but has ju...Neal, please do not use version 0.95. There is nothing wrong with it, but has just uploaded a new version, 0.96, which is not backward compatible with 0.95. Upgrading from 0.94 to 0.96 shouldn't be a problem though.
Oct 24, 2006
Jes A says:
Strike my last comment, I actually think that it is backward compatible with 0.9...Strike my last comment, I actually think that it is backward compatible with 0.95 also.