Issue is overdued Follow
Hi list,
i am just a bit confused.
I added workflow for adding due-date to each issue and configured to
reach email notification if issue is overdued.
Unfortunately i continue getting mails on issues that are already fixed.
Is this intended or have i misconfigured something?
Regards
Tilman
Please sign in to leave a comment.
Hello, Timan!
Pls, describe your setup in more details.
1. have you added custom field "due date" to your project?
2. have you attached supplied workflow jetbrains-youtrack-dueDate?
Supplied workflow jetbrains-youtrack-dueDate is a sample one and it does send notifications for fixed issues.
You can fix this behavior with a help of workflow editor (https://www.jetbrains.com/youtrack/download/index.html)
Open rule "Notify assignee about overdue issues" and add modify condition to:
daily at 10 : 00 : 00 [now > issue.Due date && issue.isResolved()] {
...
}
Am 25.08.11 15:36, schrieb Vadim Gurov:
>
>
>
>
Hello Vadim,
thank for your quick reply.
I have added custom field 'due date' und have attached the workflow.
If this sample Workflow sends notifications for resolved issues then i
am not confused anymore :-)
I'll try it the way you described.
Regards
Tilman
Am 25.08.11 15:36, schrieb Vadim Gurov:
>
Hi Vadim,
can you explain this to me?
I tried to edit this rule via workflow editor.
But i get an error message if I add "&& issue.isResolved()" that said
"Can't use this expession in this context".
Any hint?
Many thanks.
Tilman
Tilman,
Pls, post screenshot with error.
Am 26.08.11 14:31, schrieb Vadim Gurov:
>
>
Hi Vadim,
here is an screenshot. Unfortunately i cannot screenshot the tooltip
that holds the error message. As soon as i hit any key the message
disappears. But you can see the waved line that indicated the erroneous
expression. If i hover this line i get the error message : "Error: Can't
use this expression in this context".
Hope this helps to make it clear a bit.
Regards
Tilman
Tilman,
sorry I can't see screenshot attached.
Am 31.08.11 15:57, schrieb Vadim Gurov:
>
>
Hi Vadim,
the screenshot just shows a waved line under the described part.
Tilman,
My fault, sorry. You really can't use issue.isResolved() is this context.
Correct code is:
daily at 10 : 00 : 00 [now > issue.Due Date && issue.State != {Fixed}] {
Or even better solution:
daily at 10 : 00 : 00 [now > issue.Due Date && !issue.State.isResolved] {