Forums

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

automaiton :Realize the difference between two date fields, only calculate working days, and then as

zhangqian04
Contributor
April 13, 2020

automation,smart value function :how to realize the difference between two date fields, only calculate working days

 

diff(date)  ,  Unable to achieve   two date fields, only  support  diff now and another date field

compareto(date),No way to get only the difference of working days was found

 

thanks 

1 answer

1 vote
Sebastian Krzewiński
Community Champion
April 13, 2020

Hi @zhangqian04 

 

Did you try something like this:

{{issue.customfield_10015.diff(issue.customfield_10016).toBusinessDay()}}

 All helpfulinformations you can find here:

- https://support.atlassian.com/jira-software-cloud/docs/use-smart-values-to-manipulate-and-format-dates/#calculating-the-difference-between-two-dates  (see paragraphs Calculating business days or Calculating the difference between two dates)

 

Regards,

Seba

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events