HI!
I'm building an automated form that presents information and a timeline to users in certain conditions. The information is emailed to them - its for execs on the go. When I add custom time fields ( or any time fields really, it isn't just a custom field) I get the "jiraDateTime" format.
<td class="tg-7fey" colspan="2">{{issue.customfield_1186}}</td>
Above is the line impacted. If I add formatting such as {{issue.customfield_11966}}longDateTime{{/}} I get errors - "Error rendering smart-values when executing this rule:Mismatched start/end tags: null != in template-7b3..."
My question is, what is the tag format to make this work? What I want is
<td class="tg-7fey" colspan="2">{{issue.customfield_1186}}format=shortDateTime,zone={{reporter.timeZone}}{{/}}</td>
I have tried escaping the trailing / such as {{\/}} but this just runs for 5 minutes and returns no results.
If I leave off the trailing slash it runs but (as I would expect) prints the text following the field.
I have tried the single format and the more formal format = statements, as well as a number of the commands on the page https://docs.codebarrel.io/automation/smart-fields/working-with-dates.html
Thank you for your ideas.
Hi Craig,
I think you are just missing the #:
{{#issue.customfield_11966}}longDateTime{{/}}
Let us know how you go.
Cheers,
Nick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.