Unable to move issues with attachments

When users attempt to move issues that have attachments on them, they get a null pointer exception. For example, a user is moving issue ABC-191 to XYZ. I can see that the 4 attachments on ABC-191 have moved to the XYZ/XYZ-480 directory. But for some reason, jira is still looking for the attachments in the original directory - ABC/ABC-191. So it seems to move the attachment, then look for them in the old directory, then throw a null pointer exception.

One thing to note, our default attachment path is a symbolic link.

2013-01-29 09:29:06,024 http-bio-8080-exec-41 WARN

/secure/CommentAssignIssue.jspa jira.plugins.webhooks.WebHookRegistrationManager Failed to publish web-hooks for event com.atlassian.jira.event.issue.IssueEvent

java.lang.NullPointerException: null value

at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:204)

at com.google.common.collect.ImmutableMap.entryOf(ImmutableMap.java:139)

at com.google.common.collect.ImmutableMap$Builder.put(ImmutableMap.java:178)

at com.atlassian.jira.plugins.webhooks.mapper.EventTypeInfoDecorator.toMap(EventTypeInfoDecorator.java:28)

2 answers

1 accepted

issue was that project ABC has a custom field set that project XYZ does not have set. in this case, the issue cannot be moved from ABC to XYZ unless the custom field is removed from ABC or added to XYZ.

i bet the symbolic link causes this....

how was is created?

created on the linux side with ln -s. is there another option? is it possible to change the default attachment path?

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
Posted Friday in Off-topic

Friday Fun: Riddle me this

Happy Friday, Funmakers! We had a Community Team offsite in Austin this week, and my mind feels primed for thinkin' from all the brainstorming we did!  So, this week's Friday Fun thread w...

121 views 14 3
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