Regular Expression Capturing for Two Sets of "()"s in Setting Rules Fails to Assign Issue

Issue #867 resolved
Joseph Pursel created an issue

Hi Fidel,

We have a use case where I am using the "Set a Field as a Function of Other Fields" post function to check a Custom Field that has an option containing two sets of "()"s. The specific Regular Expression/Assignment fails to assign the issue in the example below:

((Marketplace - Sample A (Blue, Green, Yellow))pursel

All other setting rules in the post function contain only 1 pair of "()"s.

Changing the setting rule to a boolean_expression does provide me a workaround and does assign the issue to the intended Assignee.

[%{12471} = "Marketplace - Sample A (Blue, Green, Yellow)"]pursel

Please verify if there is a Bug in the setting rule logic for the Regular Expression above or if I have not coded this type of setting rule incorrectly.

Thank you, Joe

Comments (4)

  1. Fidel Castro Armario repo owner

    Hi amazonadmin,

    The problem in your failing setting rule is that you entered an extra (. Use the following one instead:

    (Marketplace - Sample A (Blue, Green, Yellow))pursel
    
  2. Joseph Pursel reporter

    HI Fidel,

    I am sorry as I entered one to many "(". The actual statement from the post function is - (Marketplace - Specialty (Fresh, Handmade, Art Wine & Collectibles, Smile))assignee.

    Should this work?

    Thank you, Joe

  3. Log in to comment