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!
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
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>
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.