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

This widget could not be displayed.

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.

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

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