JIRA creating an issue from email

hello,

we have jira configured to accept email with an attachment and create an issue with that attachment. this works fine when the email sent from outlook, an issue is created and the file is attached to it.

we have a webform worksheet that sends an email with an attachment to jira, and jira creates an issue but without attachment.

for testing i have a CC address on the webform email and CC comes with an attachment, so somehow jira is ignoring an attachment to the email that is send programmatically.

your help is greatly appreciated.

2 answers

0 vote

Not exactly sure what's going on there, but I would:

  1. compare the mail headers of both emails sent from outlook and the ones sent via the webform
  2. I would look in the incoming mail logs in $JIRA_Home/log for any errors related to attachments or particular to the emails sent from the webform. You may need to enable debug logs for Incoming Mail if necessary via Administration menu > System > Troubleshooting and Support > Logging & Profiling.

Taiwo, thank you for your reply, we have oppened a support ticket with Atlassian JSP-180094 and I've created and attached a support log zip file.

thanks again

Mike.

Mike,

Are you referring to the Drupal webform module? I've hit this problem before and I don't think there's much you can do about it, aside from customizing the module itself. The reason for this is that the attachment is associated with the webform results -- it's never actually attached to an email. You would actually need to click on the link to view the result in Drupal, where you can access the attachment.

Again, patching that module to add the attachment to the email is really the only way to go here.

Aseem, thank you for your reply,

No we are not using Drupal webforms, we have our own web application, that sends an email to JIRA.

We are working with support to resolve this issue, and once the solution is found I will post it here for reference.

Thanks again,

Mike

Likely the way the attachment has been added is either not findable by the default JIRA email handlder, or suffers from a syntactical issue preventing it from being used. such problem mails Im always interested in getting hold of for Testing purposes with JEMH. If you have a full example Id love to get an 'original email' (including headers) to validate JEMH already fixes the problem?

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 Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

622 views 6 12
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