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

This widget could not be displayed.

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 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...

112 views 2 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