How to change the subject of an emailed filter to add the current date?

Hey, so I'm attempting to make some changes to the subject lines on some of the emails we're sending out from Jira, specifically the ones for filter subscriptions. Two changes to them have been requested: Removing the "Subscription" prefix, and adding todays date at the end of it. I thought I could follow the docs on how to do it, but looking at the doc and then at the the subject file....I'm awful confused. sad Here's what I'm looking at:

#disable_html_escaping()
#text('template.subscription.header.name'): ${searchRequest.getName()}

I think if I remove the ('template.subscription.header.name') part that might get rid of the prefix. But how can I add the date? For some reason I'm having trouble figuring that out, but I think I should be able to. And clues? Thanks!

1 answer

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Friday in Jira Service Desk

Looking for anyone who has switched from Zendesk to Jira Service Desk

Hi Community! The Jira Service Desk marketing team is looking for customers who have successfully switched from Zendesk to Jira Service Desk!   We’d love to hear your thoughts on the pros and ...

47 views 2 2
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you