Regexp value doesnot work

Issue #109 resolved
ivan karpov created an issue

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)

  1. Fidel Castro Armario repo owner

    You should use the following setting rule: (.*apple.*)ikarpov , or if you need case insensibility: ((?i).*apple.*)ikarpov

  2. Fidel Castro Armario 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".

  3. ivan karpov 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 ?

  4. Fidel Castro Armario 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

  5. ivan karpov 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
    
  6. Log in to comment