Forums

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

Editing velocity templates, what is the Custom Field Id for 'security level'?

glennrees
Contributor
October 31, 2019

This article explains how to add a permanant custom field to batched email notification templates in Jira 8.5. However the field I want to make permanant for all emails is the 'Security Level'. This field is used as part of the Issue Security configuration. It is not a traditional custom field however, its a system field of some kind, so it does not have a custom field ID that I can specify as per the article. Any suggestions how I may be able to do this?

The article actually says

For example, you can include a custom field that specifies the issue's security level,

but does not indicate how.

Thanks,

Glenn

1 answer

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 6, 2019

The security level field is not a custom field, it usually means the "level" field built into Jira and implemented by the "issue security" scheme.

From memory, it might be $issue.level.getName() if you want the name of the level in velocity.

Suggest an answer

Log in or Sign up to answer