It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Format Custom Field Date?

I've read through https://docs.codebarrel.io/automation/smart-fields/working-with-dates.html and I'm trying to format a customer field's date to send to Slack.

I've have it so:

Hello! {{issue.key}} - {{issue.description}} - {{issue.toUrl}} is scheduled to be called at 
{{issue.customfield_12914}}format="longDateTime",zone=Australia/Sydney{{/}}

But unfortunately, it fails. Am I missing something? It works for when I use the {{now}} function.

Thanks!

 

 

1 answer

It turns out I was missing a # for my customer issue field. All good!

 

Hello! {{issue.key}} - {{issue.description}} - {{issue.toUrl}} is scheduled to be called at 
{{#issue.customfield_12914}}format="longDateTime",zone=Australia/Sydney{{/}} 

Glad you got it sorted Joanne! Just let me know if you have any other questions :) 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Marketplace Apps & Integrations

Marketplace Spotlight: November Continuous Integrations

                                                Shipping new code shoul...

66 views 0 1
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you