Forums

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

Using Assets for Scheduled Tasks - Nth of the Month

Danielle Alota
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!
December 18, 2025

Hey team, this should be working but it isn't. Any ideas why?

I have set up an Assets schema that captures scheduled tasks. One of the attributes is called "Nth of the month". I have a regex expression that forces the format to be <1-4>,<1-7>, as documented here.

As an example, I have an attribute with 3,4 - meaning the third Wednesday of the month. 

Annotation 2025-12-18 223338.png

Using the smart value {{lookupObjects.Nth day of the month}}, it prints out 3,4 as expected. I then store this in a variable called {{nDays}}

However, if I then use {{lookupObjects.Next Scheduled Date.plusMonths(1).Nth day of the month(nDays)}}, it prints nothing.

I've confirmed that {{lookupObjects.Next Scheduled Date.plusMonths(1).Nth day of the month(3,4)}} works fine.

I've tried to use .toString, .asNumber, .htmlEncode, .xmlEncode, .jsonEncode, but still nothing.

0 answers

Suggest an answer

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

Atlassian Community Events