Forums

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

lookupTable not working as expected with a Date

John Funk
Community Champion
December 4, 2025

Hello everyone! I have an automation rule that uses a Lookup Table. I am wanting to get a value from the table when the value of a date field matches the key. 

I am logging out the value of the date field and it shows a value exactly like the value in the Lookup Table. But when I try to retrieve the value of the table to use in a Variable, I get an error. 

See the screenshots below. @Bill Sheboy 

Screenshot 2025-07-02 112045.png

 

Screenshot 2025-06-05 154501.png

 

Screenshot 2025-05-27 075820.png

3 answers

1 vote
Kai Becker
Community Champion
December 4, 2025

Hi @John Funk 

I guess the .value at the end of the lookup table get is not need. I assume it will try to return the value of the value which results in null

1 vote
Trudy Claspill
Community Champion
December 4, 2025

Hello @John Funk 

You appear to be missing a ")" between .value and }} in your Create Variable action.

John Funk
Community Champion
December 4, 2025

Good catch! I corrected that and no longer get an error, but the variable is not bringing back the value - it is blank (logging that out also). 

 

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
December 4, 2025

Hi @John Funk 

Yes, and...to the suggestion from @Trudy Claspill --

When the date field is formatted with jiraDate (in order to use a text string for the key lookup), the value attribute is not needed:

{{fiscalWeek.get(triggerIssue.Go Live Date.jiraDate)}}

 

And, when you need the fiscal week, that could be done without a lookup table:

  • increment your date by the offset amount for your fiscal year (e.g., plusMonths, plusWeeks, etc.)
  • format the date using format("w") to get the numeric week
  • concat the string after your "Week " prefix
Week {{triggerIssue.Go Live Date.plusMonths(2).format("w")}}

Please adjust as needed for your own fiscal amount shift.

 

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events