Creating issues from Email (Exchange instead of POP/IMAP)

Hi,

I would love to use the feature creating Issues from email (https://confluence.atlassian.com/display/JIRA/Creating+Issues+and+Comments+from+Email) - but unfortunately we do not offer support for IMAP/POP at our company, as our IT resposible told me we just have the MS Exchange service running.

Is there a way to get this running directly with exchange, or receiving emails with SMTP (as I am able to use that protocol)?

Best regards,

Christian

3 answers

I am not aware how exchange protocol is different from IMAP/POP, but I think if you can't get them to make an exception for this purpose it is going to be difficult. SMTP isn't really a protocol for retrieving messages from a mailbox, only for sending emails between always-connected servers. You would probably have to implement a Mail Fetching class in a plugin to support one of those protocols.

If you have access to the JIRA source, In Jira 4 and earlier, there is ImapService which is an example you could start with. In JIRA 5, everything has been migrated to the MailFetcherService, which is "hopefully going to be moved to the jira mail plugin" soon. You would have to write a drop-in replacement for it, or extend it, to support SMTP transport as well.

You might also try setting up something like fetchmail to pull emails down into a local mail folder on disk, then having a cron job regularly check it for new emails and make REST API calls to create issues, but this means doing a TON of work yourself.

0 vote

Actually, with fetchmail and the local folder option - Jira does support "email from local file", so you wouldn't need all the cron/REST stuff.

Getting the mails as files, I've done for another system which wasn't really email, so I'm a bit stuck on that bit, but it's not too hard to implement the "read files, create issues" process without any coding. See https://confluence.atlassian.com/display/JIRA/Creating+Issues+and+Comments+from+Email and look for the "file system messages" bits

Just an FYI for anyone in the future...Exchange can be configured for POP or IMAP, but it is off by default.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

95 views 0 5
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