Clear Jira Mail Queue

I have a backlog of old emails in my JIRA queue that I would like to delete, hundreds. I have read that stopping the JIRA service and starting it again will clear this but the emails just seem to go back into the queue again when started.

6 answers

0 vote
Richie Gee Atlassian Team Mar 04, 2013

Hi there,

You seems to be bumping into this issue as the documentation below:

https://confluence.atlassian.com/display/JIRAKB/Mail+Queue+Never+Flushed+Automatically

Try to see if the resolution helps.

Hope it helps, cheers :)

If its still putting the outgoing emails in queure again then you must check with the SMTP server configration with JIRA or if there is a memory problem. You can check for the cause in the application server log file.

You may like to refer this below links -

https://confluence.atlassian.com/display/JIRAKB/Mail+Queue+Never+Flushed+Automatically

https://confluence.atlassian.com/display/JIRA041/Troubleshoot+Mail+Notification+Problems

Stopping and starting the service don't delete the mail queue. Please go to your admin page where you configure the mail service. There you will find a button which will clear the mail queue.

That's not true, you cannore remove the queue from the interface, the only way to remove it is to restart Jira. Flushin does SENT the emails NOW.

Actually, if you Disable the Outbound Mail (there is a button in the UI), doing a Mail Queue Flush will actually result in the clearing of the current Queue. Given the error queue can be deleted too, seems possible to do this through the UI?

It actually looks like some sort of email loop as apposed to a back log of emails. I cleared all the emails from the inbox of the account that jira uses. Now it appears that there are 5-6 tickets that are in a loop of continuous emial notification/jira comments being added.

My mail queue is 1218 and growing. I've canged my SMTP detail to somethigng invalid so emails don't get sent

Do a user lookup by email of your incoming address. If a user has been created, this can happen. What mail handler are you using?

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

172 views 1 17
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