Forums

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

Query issue created fulldate for day of week in automation

NaheemW August 12, 2024

Hi 

I'm trying to see if it's possible to split out a round robin in an automation, so that on finding Monday / Tuesday / Wednesday in {{issue.created.format.fullDate}} then it will assign to one group of people, and on finding Thursday / Friday it assigns to another group of people. So far it's not picking up, but i'm doing it on a smart values condition where

{{issue.created.fullDate}}

contains

 

(Thursday|Friday)

Is there something I'm missing or is this not a way of dealing with this.

3 answers

1 accepted

2 votes
Answer accepted
Ingo Volkhausen
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.
August 13, 2024

Hi @NaheemW 

can you try to use

// Get the day of the week the issue was created
{{issue.created.dayOfWeekName}}

which I do found here:

Automation smart values - date and time | Cloud automation Cloud | Atlassian Support

image.png

 

Ingo Volkhausen
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.
August 13, 2024
0 votes
NaheemW August 13, 2024

@Ingo Volkhausen  Excellent THANK YOU. that works great

0 votes
NaheemW August 13, 2024

adding that i tried this with create variable also to no avail.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events