How to detect a change in the Description of an issue
I try to detect when a reporter starts to fill in the description.
I use the following rule: "issue.description.changed". This does not work. However when the description is cleared then the rule triggers.
For a change of the summary, "issue.summary.changed" works just fine.
My intention is to use this rule for applying guidance to the reported and tell him to first fill in a mandatory custom field. I want to check that field BEFORE creating the issue. Reason: When submitting the assert would increment the issue ID each time the user tries to submit without filling in the mandatory field.
Can anybody explain why the rule does not work?
It there a way to prevent that the issue ID keeps up increasing each time an assert is pops-up?
Help is greatly appreciated.
A YouTrack newby.
I use the following rule: "issue.description.changed". This does not work. However when the description is cleared then the rule triggers.
For a change of the summary, "issue.summary.changed" works just fine.
My intention is to use this rule for applying guidance to the reported and tell him to first fill in a mandatory custom field. I want to check that field BEFORE creating the issue. Reason: When submitting the assert would increment the issue ID each time the user tries to submit without filling in the mandatory field.
Can anybody explain why the rule does not work?
It there a way to prevent that the issue ID keeps up increasing each time an assert is pops-up?
Help is greatly appreciated.
A YouTrack newby.
Please sign in to leave a comment.
I haven't managed to reproduce it.
If you can please report steps to reproduce in new issue on https://youtrack.jetbrains.com. Thank you!
I'd use a workflow like this for your case:
You can reproduce the problem with incrementing ID's as follows:
step 1: apply the following rule:
when becomesreported() {
}
step 2: fill in summary
step 3: press Create issue
step 4: repeat step 5 several times
step 5: fill in 'Fix versions'
step 6: create issue
step 7: observe the ID of the created issue
expected: ID is last ID + 1
actual : ID is last ID + # of attemtps to create