How can I send an email to a group but omit inactive users?

Rob Horan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 20, 2015

I sent an email to all users letting them know about scheduled downtime.  I used the jira-users group.  The problem is the email went to everyone in the group, including inactive users!  Why would the system send to inactive users?! More importantly, how can I prevent this from happening?

2 answers

1 accepted

0 votes
Answer accepted
Piotr Klimkowski
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 20, 2015

Hi,

What JIRA version are you on ? I think it was fixed here: https://jira.atlassian.com/browse/JRA-30152

Rob Horan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 21, 2015

I'm on 6.0.4 - upgrading is not something I can do at the moment.

Piotr Klimkowski
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 21, 2015

You could patch the JIRA manually as described in here: https://confluence.atlassian.com/display/JIRA/How+to+Make+a+JIRA+Patch You need JIRA 6.3.4 source code. The class you're interested in is jira-components/jira-core/src/main/java/com/atlassian/jira/web/action/admin/mail/SendBulkMail.java However, if you do that, any future upgrades will be more complicated. Also getting the JIRA to compile might not be trivial. Alternatively, you might want to consider using banner to announce downtimes etc. https://confluence.atlassian.com/display/JIRA/Configuring+an+Announcement+Banner

Rob Horan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 27, 2015

If I have to mess with the source code I wont do it. If I have to mess with items in the file system I won't do it, unless the payoff is very very well worth it.

0 votes
rrudnicki
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 20, 2015

Hi Robert, 

 

When you says "inactive" users, are you mean disabled users? If so, you might facing this bug:

https://jira.atlassian.com/browse/JRA-23462

 

Also, this documentation might be useful for you:

https://confluence.atlassian.com/display/JIRAKB/Deleting+other+users%27+filters+and+subscriptions

 

Regards, 

Renato Rudnicki

 

Suggest an answer

Log in or Sign up to answer