Forums

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

Find the Monday date of the week issue created/Done

Myles Boyd
Contributor
September 16, 2025

Due to reporting limitations, I need fields to hold the Monday of the week the issue was created and another for when the issue is set to Done.

 

When I googled, I found something about using the Jira smart value  dayofWeek()  BUT that doesn't appear to be a JSM value, in fact {{issue.created.withDayOfWeek(1)}} returns blank.

 

Is there an easy way to calculate the Monday date from created/now ?

 

Thank you

1 answer

1 vote
Christos Markoulatos
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.
September 16, 2025

Hi @Myles Boyd 

For "WithDayOfWeek(1) returns blank" is a known bug

[AUTO-1893] .withDayOfWeek Automation smart value not working - Create and track feature requests for Atlassian products.

try :

{{ issue.created.withNextDayOfWeek("MON").minusWeeks(1).format("yyyy-MM-dd") }}

Hope this helps !

Myles Boyd
Contributor
September 16, 2025

You're a star - thank you.

Christos Markoulatos
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.
September 16, 2025

Glad to hear it worked for u Myles. If u are happy with the answer please accept it as a solution as it helps us alot here in the community.

Glad to have u here!

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