Not able to render Java Object reference in Velocity template after updating from 10.3.15 to 11.3.1

Hi,

We have recently updated our Jira instance from 10.3.15 to 11.3.1.

After upgrading Jira, while performing sanity test for our custom plugins, we have noticed that Java object references are not getting rendered on UI as shown in screenshot.

We tried adding some dependencies and also using velocity allowlist as given in document https://developer.atlassian.com/server/framework/atlassian-sdk/configuring-the-velocity-allowlist/

But none of the things are working. Can anyone please help me resolve this issue.

Thanks & regards,

Preethi H R

There are a few things here. First of all, not all objects are permitted in the allowlist, so if you for example add an internal Atlassian type object it might fail velocity allowlist validation. Secondly, if one of the fields in your allowlist does not exist or is not permitted, the entire allowlist breaks down. I would add logging and look in the application logs, you might get a clue there about which values in your allowlist are not working.