Outside-the-box use of wftoolbox
Issue #249
resolved
Can I place some function at the Create step of a workflow so that if someone emails junk to the jira project it doesn't create an issue.
I realize that this isn;t the best way to go about this, the right way would be to place a rule on the email server but i don't have access to that at this time.
As a workaround could toolbox be used to inhibit the creation of issues if some given sting is in the body of the email?
Thanks,
Comments (2)
-
repo owner -
repo owner - changed status to resolved
I close the issue. Please, reopen it if you keep needing support on it.
- Log in to comment
You can do it using "Boolean validator with math, date-time or text-string terms" in "Create Issue" transition using a configuration like this:
Boolean expression is:
The former expression prevents issues to be created if its Description contains any of 2 forbidden words.
If you want to create a validation that ignores the case use the following expression:
In this case you should write the forbidden case in uppercase.