Inconsistency updating Organization using the option "User reporter's e-mail domain"

XMLWordPrintable

    • Severity 3 - Minor
    • 0

      Issue Summary

      The Automation functionality "Use reporter's e-mail domain" gets the wrong domain depending if a user was manually added first to the Organization.

      Also if a user has a slightly different domain (Eg mycompany and mycompanyuk) the rule considers different organizations.

      This is reproducible on Data Center: (yes)

      Steps to Reproduce

      1. Rule created to set the organization using the "Use reporter's e-mail domain" feature when a comment is added to an issue.
      2. Created three users with the following details:
        Name Email
        User1 user1@mycompany.com
        User2 user2@mycompany.com
        User3 user2@mycompanyuk.com
      3. Manually created the organization "My Company" and also manually added User1 to the organization "My Company".
      4. Created a ticket for User2 and added a comment to run the automation.
      5. Automation runs and adds the User2 to the organization "My Company", as the first user from that organization (User1) had the domain @mycompany that matches the User2 domain.
      6. Created a ticket for User3 and added a comment to run the automation.
      7. For the User3 a new company was created named "mycompanyuk" as the domain didn't match the first user from the org "My Company"

      Expected Results

      The rule should better handle user's Organizations

      Actual Results

      The rule considers the first user of an organization to parse our the domain.

      Workaround

      Currently, there is no known workaround for this behavior. A workaround will be added here when available

        1. org.png
          org.png
          23 kB
        2. ruleOrg.png
          ruleOrg.png
          82 kB
        3. User2.png
          User2.png
          97 kB
        4. user3.png
          user3.png
          98 kB

            Assignee:
            Karol Skwierawski
            Reporter:
            Diogo Wunsch
            Votes:
            8 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: