• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • Forge and Connect
    • None

      Updated 13 November 2020

      We've confirmed that this behavior is reoccurring and have reopened this ticket.

      Augusto Pasqualotto | Support Engineer, Jira Service Management Cloud

      Summary

      • Portal-only customer accounts do not have any configurable privacy options(Atlassian accounts do have configurable privacy options)
      • For customer accounts - the expected behaviour is that:
        • Agents can see customer email addresses
        • Customers can see other customer email addresses if both have access to the same ticket/request

      Calling either:

      • <instance_name>.atlassian.net/rest/api/2/search?jql=id=<issue_key>&expand=changelog&maxResults=1
      • <instance_name>.atlassian.net/rest/api/2/search?jql=id=<issue_key>
      • <instance_name>.atlassian.net/rest/api/3/users/search?accountId=%

      Doesn't return the emailAddress field for customer accounts as expected - the field is missing:

              "reporter": {
                "self": "https://dnguyen4-test3.atlassian.net/rest/api/2/user?accountId=qm%3Axxxxx-xxxxxx-xxxxxxx-xxxxxxxxx",
                "name": "qm:xxxxx-xxxxxx-xxxxxxx-xxxxxxxxx",
                "key": "qm:xxxxx-xxxxxx-xxxxxxx-xxxxxxxxx",
                "accountId": "qm:xxxxx-xxxxxx-xxxxxxx-xxxxxxxxx",
                "avatarUrls": {
                  "48x48": "https://avatar-cdn.atlassian.com/default?size=48&s=48",
                  "24x24": "https://avatar-cdn.atlassian.com/default?size=24&s=24",
                  "16x16": "https://avatar-cdn.atlassian.com/default?size=16&s=16",
                  "32x32": "https://avatar-cdn.atlassian.com/default?size=32&s=32"
                },
                "displayName": "MyDisplayName",
                "active": true,
                "timeZone": "Europe/Amsterdam",
                "accountType": "customer"
      

      Steps to Reproduce

      1. Call the instance to fetch issue data <instance_name>.atlassian.net/rest/api/2/search?jql=id=<issue_key>
      2. Examine the response body

      Expected Results

      • The response shows the emailAddress field
                "reporter": {
                  "self": "https://dnguyen4-test3.atlassian.net/rest/api/2/user?accountId=qm%3Axxxxx-xxxxxx-xxxxxxx-xxxxxxxxx",
                  "name": "qm:xxxxx-xxxxxx-xxxxxxx-xxxxxxxxx",
                  "key": "qm:xxxxx-xxxxxx-xxxxxxx-xxxxxxxxx",
                  "accountId": "qm:xxxxx-xxxxxx-xxxxxxx-xxxxxxxxx",
                  "avatarUrls": {
                    "48x48": "https://avatar-cdn.atlassian.com/default?size=48&s=48",
                    "24x24": "https://avatar-cdn.atlassian.com/default?size=24&s=24",
                    "16x16": "https://avatar-cdn.atlassian.com/default?size=16&s=16",
                    "32x32": "https://avatar-cdn.atlassian.com/default?size=32&s=32"
                  },
                  "displayName": "MyDisplayName",
                  "active": true,
                  "timeZone": "Europe/Amsterdam",
                  "accountType": "customer",
                  "emailAddress": "myemailaddress@domain.invalid"
        

      Actual Results

      "emailAddress": "myemailaddress@domain.invalid" is missing from the response body

      Notes

      • "Reporter" and "Request participants" field affected
      • Possibly any other fields where the emailAddress field should be present

      Workaround

      • No known workarounds

            [JSDCLOUD-8289] API: Unable to fetch customer email address via API

            Earl McCutcheon made changes -
            Remote Link Original: This issue links to "HOT-87836 (Atlassian Service Operations JIRA )" [ 438337 ] New: This issue links to "HOT-87836 (Atlassian Service Operations JIRA)" [ 438337 ]

            cribier pascal added a comment - Hi https://xxx.atlassian.net/rest/api/latest/search?fields=reporter&jql=key= "Ticket number"

            hi Vu,

            How did you resolve this issue? I am still having same problem with our customer site. Both

            • /rest/servicedeskapi/organization/<Organization_ID>/user
            • /rest/api/3/user?accountId=<Account_Id>

            endpoints don't return customer's email addresses

            Yazara Admin added a comment - hi Vu, How did you resolve this issue? I am still having same problem with our customer site. Both /rest/servicedeskapi/organization/<Organization_ID>/user /rest/api/3/user?accountId=<Account_Id> endpoints don't return customer's email addresses
            Oliver H made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 633163 ]
            Galit Oran (Inactive) made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 614936 ]
            Oliver H made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 610279 ]
            Edouard Kaiser made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 519615 ]

            Greg D added a comment -

            Thanks for fixing this a couple weeks ago Vu!  We saw that a due date of December 12th was added to this around 12 hours ago.  Everything is working right now, so that is worrisome, haha.  Is something going to change with this?  We just want to make sure we are prepared since this critical functionality to JSM.

            Greg D added a comment - Thanks for fixing this a couple weeks ago Vu!  We saw that a due date of December 12th was added to this around 12 hours ago.  Everything is working right now, so that is worrisome, haha.  Is something going to change with this?  We just want to make sure we are prepared since this critical functionality to JSM.
            Matthew Hunter made changes -
            Due Date New: 12/Dec/2020
            Vu 🎧 made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Waiting for Release [ 12075 ] New: Closed [ 6 ]

              vtruong Vu 🎧
              dnguyen4 Derrick Nguyen
              Affected customers:
              44 This affects my team
              Watchers:
              36 Start watching this issue

                Created:
                Updated:
                Resolved: