How to anonymously attach a file to an issue

Hi everyone,

I have already figured out how to allow issues to be created anonymously. However attaching files does not work. The screen shots up just fine; one can browse and select the file to be attached and once the "SUBMIT" button is clicked the issue is created; no errors to the end user or any other indication of any anomaly.

However on the back end no file is to be found in that newly created issue?

Any ideas? Thank you

1 answer

0 votes

Hi Boyan,

  • If you take a look at the logs do you see any errors? 
  • What version of JIRA are you using?

There was a bug for JIRA 6.4 OnDemand that was fixed a couple years ago and in the stack trace we were able to see errors similar to the following:

 java.lang.NullPointerException
     at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:187)
     at com.atlassian.jira.issue.attachment.CreateAttachmentParamsBean$Builder.build(CreateAttachmentParamsBean.java:242)
     at com.atlassian.jira.issue.managers.DefaultAttachmentManager.transformTemporaryAttachment(DefaultAttachmentManager.java:428)
     at com.atlassian.jira.issue.managers.DefaultAttachmentManager.access$200(DefaultAttachmentManager.java:92)
     at com.atlassian.jira.issue.managers.DefaultAttachmentManager$3.apply(DefaultAttachmentManager.java:409)
     at com.atlassian.jira.issue.managers.DefaultAttachmentManager$3.apply(DefaultAttachmentManager.java:405)
     at com.google.common.collect.Iterators$8.next(Iterators.java:812)
     at com.google.common.collect.Lists.newArrayList(Lists.java:139)
     at com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:256)
     at com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:217)

Take a look at the logs and let us know if you see anything and the version of JIRA you're on and we'll go from there.

Also, if you're using a version of JIRA prior to 7.0.x you may also want to consider installing JIRA on another box and import a backup and see if you run into the same behavior.  If not then an upgrade will probably be in order.

Cheers,

Branden

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,870 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot