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

This widget could not be displayed.

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.

This widget could not be displayed.

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
Community showcase
Posted yesterday in United States

Local Atlassian Research Workshop opportunity on Sep. 28th

We're looking for participants for another workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sh...

13 views 0 0
View post

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