Forums

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

Determine week number and day of week?

David Loszewski
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.
November 15, 2020

Is there a way to determine, with jira for automation or some other tool, what week number and day of the week a date and time field is in?  For example, if I have:

November 16, 2020

I want to be know that it's the 3rd Monday of the month.  

That way I can basically create a recurring schedule and automatically change the date/time field to December 21, 2020.

1 answer

0 votes
Yevgen Lasman
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.
November 15, 2020

You can utilize Power Scripts for Jira Cloud and its dayOfWeek function. You may need to convert the date into the format acceptable by the function, should be able to do with formatDate.

David Loszewski
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.
November 16, 2020

Is there a weekOfMonth option? 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events