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 Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

407 views 1 13
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot