Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

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

sprint.endDate.jiraDate wrong date returned

Marcel Reinieren
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 9, 2024

Since a while my automations fail on the following:

 

A comparison running on the last day of the sprint does this:

 

sprint.endDate.jiraDate equals now.jiraDate

 

My current sprint says: Projected end date: 23-09-2024

Smart value testing on sprint.endDate.jiraDate gives: 22-09-2024

Nothing has changed... Why is the smart value not giving me the same info anymore as shown on the sprint itself? (There's no time involved in the smart value; and it happens at arround 10:00 in the morning)

We use jira cloud.

(When I built the automation last year, it worked flawless)

1 answer

0 votes
Cristian0791
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.
September 9, 2024

Hi Marcel,

It could be one of the following scenarios:

Time Zone Differences: JIra Cloud uses UTC internally for date and time operations. Even though you're comparing dates without times, time zones might be causing the mismatch. If your Jira instance or your user's profile settings have a different time zone than UTC, the now.jiraDate might be calculated in a different time zone, causing it to differ by a day.

Automation Timing: Since the issue happens around 10:00 AM, it could be that Jira calculates dates based on a cutoff time (e.g., midnight UTC). If your local time is ahead of UTC, this might result in a mismatch when the now.jiraDate is evaluated.

 

Hope this helps.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Upcoming Jira Events