Forums

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

Automation - current time check

Rosa M Fossi
Contributor
October 12, 2020

Hello Community,

I'm trying to figure out if there's a way to limit the availability of a manual trigger automation based on the user's current time. I didn't immediately see a schedule type component, so I'm thinking the next best thing is to do a condition check such as "IF current user's time is between 6am EST and 11pm EST, then __<insert actions here>___ " 

Has anyone done anything like this before?  Maybe it's late and my brain is toast, but I can't seem to quite find the correct JQL to process 6am EST and 11pm EST.     

Any insight would be greatly appreciated! 

 

1 answer

0 votes
Mark Chaimungkalanont
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 14, 2020

Hey there Rosa,

It's not possible to conditionally show / hide the manual rule trigger based on the state of the issue at the moment - you can only show / hide based on the groups of the user that's logged in.

https://codebarrel.atlassian.net/browse/AUT-591

Cheers,

Mark C

Rosa M Fossi
Contributor
October 16, 2020

Hi Mark,   I understand that the Manual trigger itself can't be hidden based on the state, but what about an automation check?  

Like an "IF" check at the beginning of the automation.   

So when the users manually triggers the automation, the first check is 

IF
current time is between 11pm EST and 6am EST
THEN
add comment:  "Per admin, no action taken. Automation only available between 6am EST and 11pm EST" 

ELSE

<rest of the automation stuff here> 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, loom, loom for training, loom for teaching, video training, async learning, online education, screen recording, loom tutorials, loom use cases, atlassian learning, team training tools, instructional video, virtual training tools

🛗 Elevate Your Training and Enablement with Loom

Join us June 26, 11am PT for a webinar with Atlassian Champion Robert Hean & Loom’s Brittany Soinski. Hear tips, stories, and get your burning questions answered. Learn how Loom makes training and enablement easier. Don’t miss it!

Register today
AUG Leaders

Atlassian Community Events