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

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

Hi,

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

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

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

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

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
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

25,608 views 2 7
Join discussion

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