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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

145 views 1 17
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