I'm currently working on trying to remove case sensitivity for an automation rule that triggers the addition of a label.
The rule is trigger when a comment is added (main action) and then a particular string is detected.
I've tried various options to do this and have had no luck.
When I do
First value: {{comment.body}}
Condition : Contains
Second Value: after staging deployment run this
it properly adds the label I want. However if the case sensitivity is not exactly matched it does not trigger.
I've tried doing
First Value: {{comment.body.toLower()}}
Condition: Contains
Second value: (?!).*after staging deployment run this sql.*
with no luck, as well as :
comment.body.containsIgnoreCase
with conditions: contains regular expression and etc.
I would appreciate any assistance with this ruling.
Thanks!
@Aleksey Bobryshev, привет!
Try this:
First value: {{issue.comments.last.body.toLowerCase()}}
Condition : contains
Second value: after staging deployment run this
@Kseniia Trushnikova , привет!
это сработало, cпасибo!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.