-
Bug
-
Resolution: Fixed
-
Highest
-
4.12.2
-
63
-
Severity 2 - Major
-
169
-
Issue Summary
When attempting to configure a JSD project mailbox using OAuth2 the following error message is received:
OAuth token not defined for connection. OAuth Authorisation required
In the application logs the following message can be observed in relation to the above error:
2020-11-13 09:06:42,158+0000 http-nio-8186-exec-8 ERROR de3124 546x57162x1 1n0hrdk 10.131.19.21,192.168.0.2 /rest/servicedesk/1/servicedesk/FTP/incomingemail/oauth/validateandsaveflow/df31abb6-3ebc-4c4c-8947-47e92a9a85c0 [c.a.s.i.rest.emailchannel.EmailChannelResource] Failed to validate and save token: jep.mail.connection.verifier.missing.folder.error : 'JIRA couldn't open the folder 'inbox' at outlook.office365.com. Check and make sure the folder name is correct and try again.'
The cause of the problem is that Jira is unable to find a folder named "inbox" in the target IMAP account. Jira is currently hard-coded to look for the folder by the name "inbox" in the target IMAP account, and if the account does not have this folder, or if the account was originally created in non-English language and thus has inbox folder named something like "Posteingang", Jira won't be able to find it by name.
If the account was created in non-English language, and the language pack was applied to rename all folders to English language, the underlying folder names would still be in the original language and the action of looking up the folder by name will fail.
Steps to Reproduce
- Configure Microsoft Exchange mailbox in German language
- Try connecting to its mailbox from JSD project settings.
Expected Results
Since the folder with the type INBOX exists, JSD should be able to locate it.
Actual Results
JSD is unable to locate the Inbox folder.
Workaround
To work around this problem, either create a folder named "Inbox", or if one already there, change the language setting of your mailbox to the original language, and then create a folder named "Inbox".
- mentioned in
-
Page Failed to load
-
Page Failed to load
-
Page Failed to load
-
Page Failed to load
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
- relates to
-
JSDS-7686 Loading...
Form Name |
---|
[JSDSERVER-7058] Attempting to configure a mailbox with no 'inbox' folder fails with message "OAuth token not defined for connection. OAuth Authorisation required"
Remote Link | Original: This issue links to "Page (Atlassian Documentation)" [ 603201 ] |
Remote Link | New: This issue links to "Page (Confluence)" [ 763267 ] |
Remote Link | Original: This issue links to "Page (Confluence)" [ 724336 ] |
Remote Link | New: This issue links to "Page (Confluence)" [ 724336 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Waiting for Release [ 12075 ] | New: Closed [ 6 ] |
Support reference count | Original: 62 | New: 63 |
UIS | Original: 147 | New: 169 |
UIS | Original: 169 | New: 147 |
Support reference count | Original: 61 | New: 62 |
UIS | Original: 145 | New: 169 |