how can I make a filter a favorite for all of my Jira users?

All of my users (especially outside development) want access to my shared filters for a release, but they are either too lazy or too inexperienced to do it themselves.

Is there a way as an administrator that I can make a shared filter a favorite for specific or all users?

3 answers

For cloud - I don't think so, for JIRA server - you can use a groovy script to do that.

Here's a sample which adds all visible filters as favorites for the current user:

import com.atlassian.jira.favourites.FavouritesManager;
import com.atlassian.jira.component.ComponentAccessor;
import com.atlassian.jira.util.Visitor;
import com.atlassian.jira.exception.PermissionException;
def fm = ComponentAccessor.getComponent(FavouritesManager.class)
def srm = ComponentAccessor.getComponent(SearchRequestManager.class)
def user = ComponentAccessor.getJiraAuthenticationContext().getUser()
srm.visitAll(new Visitor<SearchRequestEntity>(){
  void  visit(SearchRequestEntity sr) {
      try {
      	fm.addFavourite(user, srm.getSearchRequestById(;
      } catch (PermissionException e) {

Thanks, but we're not moving from Cloud any time soon.  This issue is really hurting the uptake of JIRA here.  Basically there are only 4 of us using it and I don't see the others budging until I can set things up for each of them.  If Cloud doesn't support an administrator setting up management and non-development access, then IMHO it's not really ready for prime time.  I like to use tools that make my job easier, not harder.

For what purpose do they require that filter as being favorite?

Hm, I see I hit that button too fast. It's for a release. What are non-developers looking at exactly? Progress? Do they really need to see that in a filter search result, or maybe you could share something via a dashboard, or link result to a confluence page, or ...


Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

178 views 1 10
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