scheduled automation using cron expression.

mohit jangid November 26, 2024

Cron.png
"How does Jira Automation handle time zones in scheduled rules? Specifically:

  • Are cron jobs based on the server's time zone, or can they be influenced by user or profile-level time zones?
  • What is the impact of changing the server's time zone on existing cron-based automations?
  • Can automation rules be scheduled differently for users in varying time zones?"

1 answer

0 votes
Marc - Devoteam
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.
November 26, 2024

Hi @mohit jangid 

  1. No this can't be influenced, the server time is leading here.
  2. Existing automation using cron will start using the new set server time zone
  3. No, you will need ton convert the date/time field after issue creation

    syntax: 

    {{issue.customfield_12025.convertToTimeZone().format()}}


    Example:

    {{issue.customfield_10334.convertToTimeZone("America/New_York").shortDateTime}}

In the documentation for the time zone conversion function

jira-smart-values-date-and-time - Convert-timezone-date 

there is a link to a document from which you can get the valid entries to use for all the time zones.

https://joda-time.sourceforge.net/timezones.html

Suggest an answer

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

Atlassian Community Events