Calculated Date-Time Field doubt
Hi Fidel,
i wanna this Calculated Date-Time Field receive of sum date-time from another custom field, but ignoring hours after 18hs (6pm) and before 9hs (9am). Exemple:
cfDateTime = 23/05/2017 17:00 newCfDateTime = {cfDateTime} + 6h
result newCfDateTime = 23/05/2017 23:00 (11pm)
but i wanna this
newCfDateTime = 24/05/2017 14:00 (2pm)
It is noted that it was added 6 hours but without adding the time after 18hs (6pm) and not before 9hs (9am)
Have a way to do this using u plugin?
Comments (4)
-
repo owner -
repo owner This issue is related with:
#626 -
repo owner Hi @JonasGomes,
I have made available 2.2.39_beta_5 which adds a very powerful support for custom schedules.
You can define a custom schedule using Schedule Definition Grammar (SDG), and then do math-time calculations using functions timeDifference(highTime, lowTime, schedule, timezone) and addTime(base, offset, schedule, timezone).
You can enter your custom schedule definition at Administration > Add-ons > JIRA WORKFLOW TOOLBOX > Schedules.
Please, let me know if you need any help to implement your requirements.
-
repo owner - changed status to resolved
Resolved by just released version 2.2.39.
Please, reopen the issue if you need help to implement your time calculations using the new feature.
- Log in to comment
Hi @JonasGomes,
I'm working to support that feature, but currently it isn't. I hope it will be available in July.