Regexp value doesnot work
I'm trying to use a post function -
The field Assignee will be set according to the evaluation of Summary against the following set of rules: (apple)ikarpov
It works if the summary is exactly "apple". If the summary is "apple pie" then it doesnot work.
What's wrong ?
Comments (10)
-
repo owner -
reporter Unfortunately it doesnot work for "Apple" Both options.
-
repo owner I have reproduced that configuration and works nicely in my JIRA instance. Can we have a Skype screen share? I would like to see your configuration in direct, and how it fails.
My Skype id is "fidel100r".
-
reporter Sorry, skype is forbidden on my PC. Instead of apple actually i use russian word. Does it matter ?
I dont recognize construction with "i" in it - ((?i).apple.)ikarpov Is it right ?
-
reporter ?i is fine, i've already checked it. Dont know why it doesnot work
-
repo owner (?i) means "US-ASCII case insensitive". Please try with (?u) which means "UNICODE case insensitive".
You have all the information about regular expressions used by this feature here.
Don't forget the asterisks.
Use the following setting rule:
((?u).*apple.*)ikarpov
-
reporter Nope. All the rest works perfectly. But for "Apple" is doesnot work. Asterisks where ? I simply copy paste the whole string like below
((?u).*apple.*)ikarpov
-
repo owner I meant asterisk at .*apple.*.
Please try this: ((?iu).*apple.*)ikarpov
-
reporter This one is perfect. THanks a lot. Issue closed
-
repo owner - changed status to resolved
Great!
- Log in to comment
You should use the following setting rule: (.*apple.*)ikarpov , or if you need case insensibility: ((?i).*apple.*)ikarpov