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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,459,228
Community Members
 
Community Events
176
Community Groups

Need help with a smart value for month/day.

Is there a Smart Value that I can use to define only Month-Day?

I know that:

{{now.jiraDate}}

//returns

2020-08-18

I want the same as the above but without the year, only the month/day.

 

What I'm trying to do is create an automation that runs every day at 9 am and 4 pm, the only exception is that they will not run on January 1st and December 25th.

1 answer

1 accepted

1 vote
Answer accepted
Trudy Claspill Community Leader Nov 30, 2022

Hello @Wagner Thierry 

You can extract the month portion of a date using:

{{[date].monthOfYear}}

You can extract the day portion of a date using:

{{[date].dayOfMonth}}

You can use those in Conditions to determine if the date is Jan. 1 or Dec. 25.

Other attributes that can be extracted from dates are listed here:

https://support.atlassian.com/cloud-automation/docs/jira-smart-values-date-and-time/#Available-attributes

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events