Logic error in tip due date documentation. Follow
https://blog.jetbrains.com/youtrack/2017/09/5-tips-for-tracking-issues-in-youtrack/
TIP no.4 Due Date in advance (2 days before)
return ctx.issue.fields.DueDate < Date.now() – 2 * 24 * 60 * 60 * 1000;
This does not work(no notification 2 days before) ,
I guess there is logic mistake and there should be plus not minus (Date.now() + 2 * 24 * 60 * 60 * 1000; )
Any comment?
Please sign in to leave a comment.
Hello,
Thank you for pointing this out! This is definitely a mistake, we will fix it shortly.
Thank you for confirmation.
Where I can post feature request?
Please add more flexible options for this workflow, due date is very important and it should have various options by default without additional coding.
For example would be nice to have possibility to notify X times on due date, by default every time, but if user want one or 3 times this should be also possible instead of constant.
Please feel free to add your feature requests here: https://youtrack.jetbrains.com/issues/JT
We supply various default workflows - there is one about Due Date, so you don't need to code (or need to perform just some minor corrections). Please refer to the link: https://www.jetbrains.com/help/youtrack/standalone/Workflow-Due-Date.html