Forums

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

Automation Rule to add previous month name to the summary?

Jamie Spatz March 3, 2021

Hi all,

 

I'm trying to automate a monthly task to run a report for the previous month. Is there any way to add the name of the previous month to the summary in an automation rule via a smart value or something? 

1 answer

1 accepted

10 votes
Answer accepted
Alexis Robert
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 3, 2021

Hi @Jamie Spatz , 

 

you can use the following Smart Value to edit your summary and add the previous month : 

 

{{now.minusMonths(1).format("MMMM")}} - {{issue.summary}}

 

Let me know if this helps, 

 

--Alexis

Jamie Spatz March 3, 2021

That worked! Thank you! 

Michael Woffenden
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 Leaders.
March 5, 2021

This came in very handy for me today.

We also have the same question, but for calendar quarters

For example if we're in Q2, Apr-Jun, we want to get the previous quarter number.  Can we do this with smart values?

Ash Pitt
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 2, 2021

Love it!

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