Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

First Day of Next Month

Ryan Rosenthal February 14, 2023

I'm trying to setup automation for a scheduled issue using Automation for Jira. Within the body of a text field, I would like to reference a future date, the first day of the next month. How can I write that out with a smart value?

1 answer

1 accepted

4 votes
Answer accepted
Riley Venable
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 14, 2023
You can use the smart value {{now.plusMonths(1).startOfMonth}} to reference the first day of the next month.
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 14, 2023

I would refine it thus with a format function:

{{now.plusMonths(1).startOfMonth.jiraDate}}

Otherwise you get a value like this:

2023-03-01T21:35:55.0+0000

Like # people like this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events