Issue is overdued

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

9 comments
Comment actions Permalink

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()] {

...

}

0
Comment actions Permalink

Am 25.08.11 15:36, schrieb Vadim Gurov:

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 {

..

}

>

---

Original message URL: http://devnet.jetbrains.net/message/5317598#5317598

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

0
Comment actions Permalink

Am 25.08.11 15:36, schrieb Vadim Gurov:

pen rule "Notify assignee about overdue issues" and add modify condition to:

>

daily at 10 : 00 : 00 {

..

}

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

0
Comment actions Permalink

Tilman,

Pls, post screenshot with error.

0
Comment actions Permalink

Am 26.08.11 14:31, schrieb Vadim Gurov:

Tilman,

>

Pls, post screenshot with error.

>

---

Original message URL: http://devnet.jetbrains.net/message/5317731#5317731

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

0
Comment actions Permalink

Tilman,

sorry I can't see screenshot attached.

0
Comment actions Permalink

Am 31.08.11 15:57, schrieb Vadim Gurov:

Tilman,

>

sorry I can't see screenshot attached.

>

---

Original message URL: http://devnet.jetbrains.net/message/5318110#5318110

Hi Vadim,

the screenshot just shows a waved line under the described part.

0
Comment actions Permalink

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}] {

0
Comment actions Permalink

Or even better solution:

daily at 10 : 00 : 00 [now > issue.Due Date && !issue.State.isResolved] {

0

Please sign in to leave a comment.