Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Velocity Template Custom Fields - $issue.project is null

Jason Varsoke
March 6, 2026

I'm trying to do a custom template.  I've cut and pasted the example from https://developer.atlassian.com/server/jira/platform/creating-a-custom-release-notes-template-containing-release-comments/ which is for using CustomFields.

In debugging why the field does not show, I've deduced that inside the macro, the object $issue.project is null for the call $issue.project.getLong("id") on line 2 of the example.

Why might this be the case?

 

Note: I'm using Data Center Jira, version v11.3.1

1 answer

0 votes
Tomislav Tobijas
Community Champion
March 7, 2026

Hey @Jason Varsoke 

I've never worked with this, so I cannot say much, but maybe you could get faster assistance in Developer Community forums > there's a category dedicated to Jira DC development.

Someone might chime in here, but I guess you'll get better technical support on linked forums.

Cheers,
Tobi

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
11.3.1
TAGS
AUG Leaders

Atlassian Community Events