Forums

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

Retrieving current time from inside list

Blane Thompson
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 20, 2021

Hi, I have a lookup issue and I am trying to display the time from now when the issue was last updated. I am attempting to use `now` however it is empty when doing it from inside a list. I have tried using _now also and I am unsure how I would go about doing this.

This is within Jira automation inside of an email. {{now}} on its own is empty however {{updated}} is showing the proper value. A small example of what I am doing is and is not showing anything for both of these values. I have confirmed there are actually items in the lookupIssues.

```

{{#lookupIssues}}

    {{ now }}

    {{ updated.diff(now).prettyPrint }}

{{/}}

```

1 answer

0 votes
Andreas Knecht
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 21, 2021

Hi Blane,

Apologies but it appears this is a bug: https://codebarrel.atlassian.net/browse/AUT-2119

Looks like some of our smart-values don't currently work correctly inside a lookupIssues block.

Cheers,
Andreas

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events