You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Confuence v. 7.13.0 and Confiforms v. 2.19.2
My form sends an email at entry creation using IFTTT integration rules. The date is from a datepicker field but using the notation [entry.date] it transforms the date to a string?1631577600000 when sending an email with the entries in the bodu of the message. Using the macro to create Jira issue, correctly sends the date to Jira.
The form has been in use for 2 years and this worked fine during that time, but after a recent update, both Confluence and Confiforms, that changed.
Could you please advise on how to get the date in a correct format via email as well?
Hi
Are you using [entry.field_name] notation to retrieve your data field from the form's record or using ConfiForms Field?
If (form some reason) you use [entry.field_name] then you access internal value, which is a timestamp
In this case I suggest to do something like
[entry.field_name.formatDate]
Of course you can format it to the pattern you want
https://wiki.vertuna.com/display/CONFIFORMS/Virtual+functions
Or switch to ConfiForms Field macro to retrieve values from a form in a "user presentable" format
[entry.field_name] are usually used when you want to do some transformations or create some file/document, or use it in filter parameters...
Alex
@Alex Medved _ConfiForms_ in IFTTT on create send email formatDate does not work still comes out as a string of numbers. Th
e linked documentation has no answers other than formatDate
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you share the storage format of this page and the IFTTT macro configuration in particular?
Have you considered to use the ConfiForms Field macro instead?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
#if(${TargetTimeline}) Target Timeline [entry.TargetTimeline.formatDate(MM/YYYY)] #end
#if(${TargetTimeline}) Target Timeline [entry.TargetTimeline.formatDate(MM-YYYY)] #end
#if(${TargetTimeline}) Target Timeline [entry.TargetTimeline.formatDate] #end
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It does not look like storage format, to be honest
And the pattern does not look right - https://docs.oracle.com/javase/8/docs/api/java/text/SimpleDateFormat.html
Also, I have just did a quick test to verify the formatting patterns
Works fine...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.