Forums

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

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 Champion
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 Champion
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