You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I want to get the current week number of the month, Is there any possible way to get that?
I already try {{now.weekOfYear}} and it works but I want the WeekOfMonth which is (1-5 weeks is a month)
Hello @jeoj
Welcome to the community.
I believe this is possible in the Automation function for self-hosted Jira.
If you look at the documentation for date/time format smart values.
https://confluence.atlassian.com/automation/jira-smart-values-date-and-time-993924864.html
...you may notice at the bottom of the table a link to additional Java documentation.
Per that documentation you should be able to get the week of the month by using
{{now.format("F")}}
Thank you very much for your help!
I used {{now.format("W")}} and get the week of the month :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.