Hi,
Completing and closing this post.
some of the rules implemented:
Start and end times are custom fields.
{{issue.customfield_11506.diff(issue.customfield_11507).minutes}}
{{issue.customfield_11506.diff(issue.customfield_11507.withHour(7).withMinute(0)).minutes}}
{{issue.customfield_11506.withHour(22).withMinute(0).diff(issue.customfield_11507).minutes}}
540 + {{issue.customfield_11507.withHour(22).withMinute(0).diff(issue.customfield_11507).minutes}}{{issue.customfield_11506.diff(issue.customfield_11507.withHour(0).withMinute(0)).minutes}}
{{issue.customfield_11506.diff(issue.customfield_11506.withHour(7).withMinute(0)).minutes}} + {{issue.customfield_11506.withHour(22).withMinute(0).diff(issue.customfield_11507).minutes}}
{{issue.customfield_11507.withHour(0).withMinute(0).diff(issue.customfield_11507).minutes}}-60
{{issue.customfield_11506.diff(issue.customfield_11507.withHour(0).withMinute(0)).minutes}}
Custom Field Number "Total Time" = Total minutes between both (End Date - Start Date).
Solution:
{{issue.customfield_11506.diff(issue.customfield_11507).minutes}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please review this documentation to learn how to perform that type of date/time math on fields for your automation rule:
https://confluence.atlassian.com/automation/jira-smart-values-date-and-time-993924864.html
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for providing this documentation.
I intend to enhance this post by incorporating the solutions we have found and outlining the challenges that lie ahead.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.