Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Anyone figure out how to do the date diff between two date fields?

Rosa Santos
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!
December 15, 2023

Anyone have success using the "diff" option? I am trying to calculate the difference between two dates. I used "minus" as well just to see if it gives me anything. I do not get any errors, says my custom action was successful but my field does not populate. I have tried as a text and as a number field. 

Appreciate any feedback! 

 

Ex. Issue.Created.diff{{Issue.Start date}}

Ex. Issue.Start date.diff{{Issue.Due date}}

1 answer

0 votes
Trudy Claspill
Community Champion
December 15, 2023

Hello @Rosa Santos 

Welcome to the Atlassian community.

I have used the diff function many times in Automation rules. Is that where you are trying to use it? If so, have you reviewed the documentation on the function use?

https://support.atlassian.com/cloud-automation/docs/jira-smart-values-date-and-time/#Date-difference---

If you are using the function somewhere besides in Automation rules, can you provide more context about where you are trying to use the function?

Can you give us a screen image showing your actual use of the function?

Suggest an answer

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

Atlassian Community Events