Requirement :  
                         As a techEx team member, I would like to know for how long each user story assigned to minor release stays in UAT so I can estimate if there is risk with the deployment to production.

User stories assigned to minor release should be tested as soon as possible to avoid potential deployment risk.

Feature Creation Process :

1. Entered UAT At - For capturing UAT entered date and time.
2. Time In UAT - For calculating time in minutes.
3. Back to UAT - For capturing date and time of entering UAT again.
4. Total Time In UAT - For showing time in Days, Hours, Minutes format


{{#=}}floor({{Entered UAT At.diff(now).minutes}} / 1440){{/}} days, {{#=}}floor(({{Entered UAT At.diff(now).minutes}} % 1440) / 60){{/}} hours, {{#=}}{{Entered UAT At.diff(now).minutes}} % 60{{/}} minutes

In the workflow, I have added a rule for the transition from "Ready for Release" to "In UAT." This rule captures the current date and time of the transition and records it in the "Back to UAT" field.


{{#=}}(({{Time In UAT}} + {{TimeDiffb}}) % 60){{/}}


{{#=}}floor(({{Time In UAT}} + {{TimeDiffb}}) / 1440){{/}} days, {{#=}}floor((({{Time In UAT}} + {{TimeDiffb}}) % 1440) / 60){{/}} hours, {{#=}}(({{Time In UAT}} + {{TimeDiffb}}) % 60){{/}} minutes


{{#=}}floor(({{Time In UAT}} + {{TimeDiffb}}) / 1440){{/}} days, {{#=}}floor((({{Time In UAT}} + {{TimeDiffb}}) % 1440) / 60){{/}} hours, {{#=}}(({{Time In UAT}} + {{TimeDiffb}}) % 60){{/}} minutes

Implemented this feature in : CCCME & MSP Projects.