There are My Open Issues and Reported by Me Filter added under Issues list of new JIRA. Could we add one more filter with status="Resolved" that "need to verify"? Most of the users from QA requires this filter. So it would be nice if we have one more filter to be added as default under the existing two filters.
Hello Henning,
Thanks Henning, I have tried your script and update filterId # accordingly. I created and shared all users this filter and sorted it in with _My Open PE Issues. It works in my account only.
My goad is to be displayed on the Issues menu for all the users. I want everyone can see by default “My Open Issues and Reported by Me and _My Open PE Issues” under Issues menu without adding it from favorite.
What do I need to change from your script?
Thanks for your help. Happy Thanksgiving!
Hy
Did you see any errors in the log file?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Henning, There was no error message, but where can I view error log file? How can I accomplish to display on the Issues menu for all the users by default? (Ex: “My Open Issues and Reported by Me and _My Open PE Issues” ) Can you please help me a JQL script? thanks, Hy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You should find log messages in the atlassian-jira.log file on your server within the jirahome/log directory.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In addition to Andys answer you can use this script with the Script Runner plugin to add your Filter as a favorite for all users.
import com.atlassian.jira.bc.JiraServiceContextImpl import com.atlassian.jira.bc.favourites.FavouritesService import com.atlassian.jira.component.ComponentAccessor import com.atlassian.jira.issue.search.SearchRequestManager def userUtil = ComponentAccessor.getUserUtil() def FavouritesService favouritesService = ComponentAccessor.getComponent(FavouritesService) def SearchRequestManager searchRequestManager = ComponentAccessor.getComponent(SearchRequestManager) def filterId = 12345 def filter = searchRequestManager.getSearchRequestById(filterId) userUtil.getUsers().each{ user -> def ctx = new JiraServiceContextImpl(user) favouritesService.addFavourite(ctx, filter) }
You have to adapt the filter id to match your filter.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
It's not so different. Filters can be shared to everyone. You just need to create a new filter and share it to Everyone, then ask your users to go to Manage Filters and add this shared filter as Favorite. The filter will then appear in the Issues drop-down list.
Since "status=Resolved" is not a standard filter, it's not added by default. Whether to use such a custom filter is up to customers' specific needs. For more information, please refer to https://confluence.atlassian.com/display/JIRA/Managing+Shared+Filters.
All the best,
Andy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Srinivas,
You can click on New filter, edit the conditions e.g. change Status to Resolved only, and then choose to Save as. You will then have a new filter of your wish.
Cheers,
Andy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
But this filter doesn't exist for all users as default, and I think that's what Srinivas asked...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes.. I had asked for default filter available to all users...
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.