Uploaded image for project: 'Automation for Cloud'
  1. Automation for Cloud
  2. AUTO-1656

When the field condition with a comment containing "does not" does not function correctly.

    • 1
    • Minor
    • Jira Software, Jira Service Management, Jira Work Management, Jira Product Discovery

      Issue Summary

      When the field condition with a comment containing "does not" does not function correctly.

      Steps to Reproduce

      1. Create a rule 
      2. Select a Trigger
      3. Add a condition
      4. Select comment in field 
        Field: 
        Comment

        Condition:

        Does not contain

        Value : 

        Stop task

       

      Expected Results

      If the issue comment does not include "stop task", then the condition should be met.

      Actual Results

      The condition will pass even if the comment contains "stop task".

      Workaround

      Use the .match() function to evaluate the Regex and compare it with an empty value.
      For example:

      1. First value:
        {{comments.body.match("(stop task)")}} 
      2. Condition: does not contain
      3. Second value: Leave it empty

            [AUTO-1656] When the field condition with a comment containing "does not" does not function correctly.

            There are no comments yet on this issue.

              Unassigned Unassigned
              a8fe698485af Komal Chauhan
              Affected customers:
              1 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated: