Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-79059

Incoming mail handler is not able to read subfolders in Microsoft Graph Api mail server

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • 10.3.5
    • Mail Server
    • None

      Problem

      In Jira Incoming Mail Handlers integrated with Microsoft Graph Api , when the folder name is set with subfolders such as Inbox.testfolder or Inbox/testfolder, Jira throws "javax.mail.MessagingException: Folder with name cannot be found; exception"

       MS Graph API MS Graph API[10600]: Messaging Exception in service 'com.atlassian.jira.service.services.mail.MailFetcherService$MessageProviderImpl' when getting mail: Folder with name Inbox.testfolder cannot be found
      javax.mail.MessagingException: Folder with name Inbox.testfolder cannot be found;
            nested exception is:
          	java.lang.IllegalArgumentException: Folder with name Inbox.testfolder cannot be found
      

      However, if only the Inbox has been set in the FolderName, then the Jira incoming mail handler can read emails and process them.

      Workaround

      Move the subfolder out of the inbox and put it on the root level of the mailbox.

        1. Screenshot 2024-05-08 at 11.50.44.png
          135 kB
          Baris Ilhan
        2. Screenshot 2024-05-08 at 11.59.00.png
          129 kB
          Baris Ilhan

              Unassigned Unassigned
              8d241b947074 Baris Ilhan (Inactive)
              Votes:
              5 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 4m
                  4m