Assets - Receiving NullPointerException When Moving Issues with Assets Custom Field with placeholders

Platform Notice: Data Center Only - This article only applies to Atlassian apps on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

Users may encounter a NullPointerException when attempting to move issues that contain an Assets custom field with placeholders.

(Auto-migrated image: description temporarily unavailable)

Diagnosis

  • This issue is reproducible when moving issues with the Assets custom field in Jira Service Management (JSM).

  • The Assets custom field uses using placeholder in the Filter Issue Scope (AQL) or Filter Assign Scope (AQL).

  • The following error message is presented on the atlassian-jira.log:

    java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()" because the return value of "com.riadalabs.jira.plugins.insight.services.model.ObjectBean.getId()" is null java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()" because the return value of "com.riadalabs.jira.plugins.insight.services.model.ObjectBean.getId()" is null at com.riadalabs.jira.plugins.insight.services.jira.customfield.DefaultObjectCustomField.updateOrDeleteObjectJiraIssues(DefaultObjectCustomField.java:389) [?:?] at com.riadalabs.jira.plugins.insight.services.jira.customfield.DefaultObjectCustomField.updateValue(DefaultObjectCustomField.java:260) [?:?] at com.riadalabs.jira.plugins.insight.services.jira.customfield.DefaultObjectCustomField.updateValue(DefaultObjectCustomField.java:109) [?:?] at com.atlassian.jira.issue.fields.ImmutableCustomField.updateValue(ImmutableCustomField.java:447) [classes/:?] at com.atlassian.jira.issue.fields.ImmutableCustomField.updateValue(ImmutableCustomField.java:417) [classes/:?] at com.atlassian.jira.web.action.issue.MoveIssueConfirm.moveIssueDetails(MoveIssueConfirm.java:379) [classes/:?]

Cause

The error occurs due to the following bug:

JSDSERVER-16046

Solution

Solution 1

Upgrade Jira Service Management to the fixed versions.

Fixed Versions:

  • JSM 10.3.5 (LTS)

  • JSM 10.5.1

  • JSM 10.6.0

Workaround

    • Disable Dark Feature:

      • Navigate to <JIRA_BASE_URL>/secure/SiteDarkFeatures!default.jspa.

      • Add assets.aql.scope.filtering.on.issue.update.disabled to the list of dark features.

Updated on April 21, 2026

Still need help?

The Atlassian Community is here for you.