Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


query about time

if a ticket is created between 2000hrs and 0700 hrs in project A then create a cloned ticket in Project B 

How can I achieve this automation

I am targeting to solve an issue which is caused by difference in time zones

1 answer

0 votes
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 01, 2023

Hello @stephen_abiero 


The basic structure of the rule would be:

Trigger: Issue Created
Condition: Advanced Compare
compare the time portion of now to your time range
Action: Clone Issue

The challenging part is in extracting the time value of now and comparing it to your time range, with consideration for the timezone.

When you look at the date and time returned by the {{now}} smart value, that will be in UTC by default. If you want to convert it to a particular timezone you need to add a function to do that.  Look at the convertToTimeZone function here:

If you then want to extract just the time portion of that value you need to use the format function. Additional codes for formatting dates and times can be found here:

It looks like you only care about the hour portion of the time.

To get the value converted for a particular timezone and get the time in a 24 hour format that you can compare to your time range you would use a smart value like this:


That would return the hour portion of the time as a value 1-24.

You could then compare that value to see if it was greater than 20 or less than 7, and then clone the issue based on that.

Suggest an answer

Log in or Sign up to answer
Site Admin
AUG Leaders

Atlassian Community Events