Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Struggling with Automation Smart Values for created

Juhaina Almama
Contributor
July 1, 2021

Hi!

I am trying to use smart value for created  with automation rules for send email

{{issue.created}}

 

and {{issue.created.format("dd/MM/yyyy")}}

but it  gave the error:

Error rendering smart-values when executing this rule:Failed to get value for 

 

Anyone got the same and find out the solution ?

 

1 answer

0 votes
Tessa Tuteleers
Community Champion
July 1, 2021

Hi @Juhaina Almama , 

Are we talking Automation for Jira or Automation rules from JSM? 
Could you also include versions of your instance / apps? 

I just tested with these formats in Automation for Jira and they work like a charm: 

{{issue.created.format("dd/MM/yyyy")}}
{{issue.created.as("dd MMM")}}

- Tessa

Juhaina Almama
Contributor
July 1, 2021

I am using Automation for Jira. Capture Auto.JPG

Tessa Tuteleers
Community Champion
July 1, 2021

Hi @Juhaina Almama , 

could you show the actual action / error message? 

What version are you currently working on?

Like Juhaina Almama likes this
Juhaina Almama
Contributor
July 1, 2021

Capture auditlog.JPGCapture AutoAction.JPG

 

Versjon:7.3.3

Like Tessa Tuteleers likes this
Tessa Tuteleers
Community Champion
July 1, 2021

Hi @Juhaina Almama , 

I notice in your bottom screenshot that you have {{issue.createdDate.format....}
Kindly try {{issue.created.format...}}

I just get an empty value for createdDate, not an error.

Could you try without the format? Based on the language in the mail I'm starting to think this format is somehow not supported / recognized on your system.

- Tessa

Juhaina Almama
Contributor
July 1, 2021

Thanks,

I have tried all of these suggestions. but it does not work.

:( 

Suggest an answer

Log in or Sign up to answer