Unable to use description.required()

After enacting the Stateless rule:
when !issue.isReported(){
  issue.description.required("Please enter a description");
}
prettyPrint();
When a user attempts to create a new issue, YouTrack attempts to run 'description' as a command.

I have also tried to use Assert:
assert description.isNotBlank: "Ensure that the description has been filled out"
prettyPrint();
This causes some other issues. The summary field is repetitively being focused, any data entered in other fields will be deleted, and if a user enters in a description and then deletes it the assertion is not checked afterwards.

Is there something that I am doing incorrectly?
2 comments
Comment actions Permalink
Both methods are suggested to work but both are currently buggy.

I created http://youtrack.jetbrains.com/issue/JT-14541 and http://youtrack.jetbrains.com/issue/JT-14545

I apologize for inconvenience.
0
Comment actions Permalink
No problem, thank you for your speedy response and continued work.
0

Please sign in to leave a comment.