Remove filter subscriptions from past users


I need to remove personal subscriptions made by users who no longer work with us.

How can I do that? Instructions are given for direct database access. What about the OnDemand?

If it was possible to log in as the relevant user, I could do that, but no such plugin (groovy or SU) is installed in OnDemand instance.

As a last resort, I'd change the password of the user and log in to his account and remove the subscription.


6 answers

1 accepted

0 votes
Accepted answer

Thanks guys, changing the user's email is suggested by Atlassian support as well but I found it completely inelegant.

Suggested method leaves subscriptions/filters open thus, even if you take the ownership of his past issues you still can't delete the user. Removing a user is definitely required when you have a limited user licenses and people come and go often.

What I did is changed the user password, logged in and removed his subscriptions manually.

I wonder, is there any plans in future versions of Jira for issues like that? (removing a user and all references from the system).


1 vote

Is your instance accessible by the public (Browse Projects permission = Anyone)?

If not, then you can just remove the user from all the groups so that the user will not have the permission to view the issues in the Project. The filter subscription depends on the permission. If the user does not have the permission, then no email will be sent to the user from the filter subscription.

But there is still a lot of work done by large JIRA instances to check that the user does not have this permission.

As far as I know, there is no ideal way of deactivating such subscriptions.

You may want to vote on the respective feature request. I believe it is

The way we currently prevent notifications/subscrptions being sent out to deactivated users is changing their email address to one, which collects all the "garbage" (logging in to the user's account would be too much effort). Currently this works for us, but from a performance and data integrity perspective it is not ideal.

But an admin interface would definately be our desired solution.

Script Runner has a built-in script 'Switch to a different user', so you could login as the subscriber and make changes.

I was looking for the answer to this question today.  It appears the only free option is to recreate the user account as a local account, login, and directly edit.  There are two pay (plugin) options according to the (new?) JIRA knowledgebase article that provide an easier workaround.  One is the Script Runner option shown here, the second is a JIRA SU plugin.

At any rate, the feature request for admins to edit other user's filter subscriptions is here: was referenced by prior commenters on this post.  I note it is marked resolved, and it did ask for something similar, but Atlassian fulfilled it by simply stopping all filter subscription emails to inactive users.  The subscription still exists, it just doesn't send email. 

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,154 views 5 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