The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

JIRA Batch Notification with Customfield Value in Subject

Info INOHA
March 22, 2021

Hello,

I would like to display a custom field value in JIRA batch notifications.

Without the Batcher it is working with:


$issue.getCustomFieldValue($customFieldManager.getCustomFieldObject("customfield_10228")).toString()

but not in batch notification.

Then I found this: 

2020-11-23_14-28-20_Adding custom fields to emails (batched notifications) | Administering Jira applications Data Center and Server 8.15 | Atlassian Documentation

and I tried to display the notification with: 

${customFields.get('10228').getValue()} 

or

$customFields.get('10228').getValue() 

or

$escape.apply($customFields.get('10228').getValue())

all this not working. In Email I see this code in subject as it is.

Please can someone help?

Thanks

 

Thomas

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.