What happens to mail notifications if user is being revoked JIRA-user permission and still is watcher of issue?


I got a question regarding mail notifications. In my project there are many users which have been added as watchers. As soon as they leave the project (team) they are moved out of the group which has the JIRA-users permission, hence they can't login and use JIRA. However, they still are in the internal directory and assigned as watchers... do they still get email notifications if the mail address is still valid? (I'm using JIRA 5.0.7 so I can't disable the user)

Thanks for any comments


3 answers

1 accepted

0 votes
Accepted answer

It's not quite as simple as it looks on the surface, as there's a couple of things to look at.

First, you've got a user, with a valid email address. That means Jira knows where to send the emails.

Second, you've probably done the right thing in removing them from Jira users to prevent them logging in.

Third, the actual rule about sending email to people is "can they see the issue?". In your scenario, you've removed their direct access, but, if you can see that issue without logging in (anonymous browse access), then Jira will continue to send emails to them as a watcher, because they can still see the issue. Even if they can't log in and do anything with it, they can still see it, so they still get email.

(oops, I forgot this) You won't be getting errors in logs - there's nothing wrong with your setup or what you're doing to provoke an error!

Hey Nic,

anonymous login is turned off but after deleting the user (a test user) from the project role he couldn't "see" the issue so that was it I guess. Thanks!


Thinking about it, it doesn't need to be anonymous-access really - that's just where where I first ran into the problem!

The email system doesn't really know if someone can log in, it's got "this user has a valid email address, they are a watcher, and they can see this issue". It doesn't need them to log in, so it doesn't care if they can or not, it just sends the email because they can see the issue.

Hence, removing them from the role that lets them see the issue solves it.

I recreated the scenario in my test instance , the watcher once removed from the group which will recieve the notification will not get any email updates .

I kind of could reproduce it aswell. But I can't see any error whatsoever in my logs...

I guess when users are removed from jira-users they dont get email notifications since they lose all permissions . There wont be any errors because of this.

Trying to reproduce this I

1) revoked the permission to login (no effect)--> mails were being sent out

2) threw the user out of the project role--> that way the user couldn't see the project and no mail are being sent out...

Hope that this was the solution...Can anyone officially confirm that?

Cheers Christian and thanks Mizan for your efforts

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,711 views 17 21
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