Automation for Jira: schedule who gets automatically assigned a ticket based on time of day

Nelson Sa November 5, 2020

I have a project automation for our Service Desk, when a ticket with "urgent" in the summary is received, it is assigned to me and a Slack message is sent. This is working fine.

I now wish to add a condition that if it's past 5pm then the ticket is assigned to my manager. I attempted by adding an IF/ELSE statement saying if {{issue.created.shortTime}} is greater than 5:00 PM then assign to <manager>, else assign to me. Sadly this has not worked, can anyone give me a pointer on how to resolve this?

TIA.

1 answer

0 votes
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 5, 2020

Have you tried using a JQL condition? Here is an example snipit 

Createddate >= startofday(“+17h”)

I may not have syntax precisely correct here so test in the advance search and adjust. 

Nelson Sa November 5, 2020

Thanks, I haven't had much experience with JQL so I was banging my head against a proverbial brick wall yesterday.

I'll give that a try when I have a chance.

Suggest an answer

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

Atlassian Community Events