{
   "expand": "operations,versionedRepresentations,editmeta,changelog,renderedFields",
   "id": "338471",
   "self": "https://bugs.mojang.com/rest/api/2/issue/338471",
   "key": "BDS-6043",
   "fields": {
      "issuetype": "1",
      "project": "11700",
      "fixVersions": [],
      "resolution": "4",
      "customfield_10500": {
         "self": "https://bugs.mojang.com/rest/api/2/customFieldOption/10300",
         "value": "Unconfirmed",
         "id": "10300",
         "disabled": false
      },
      "customfield_12800": null,
      "customfield_12602": [],
      "customfield_12601": null,
      "customfield_12604": null,
      "customfield_12603": null,
      "customfield_12606": null,
      "customfield_12605": null,
      "customfield_12608": null,
      "resolutiondate": "2021-01-29T18:19:51.000+0200",
      "customfield_12607": null,
      "customfield_12609": null,
      "workratio": -1,
      "lastViewed": null,
      "watches": {
         "self": "https://bugs.mojang.com/rest/api/2/issue/BDS-6043/watchers",
         "watchCount": 0,
         "isWatching": false
      },
      "created": "2020-06-14T19:20:00.000+0300",
      "customfield_12000": null,
      "customfield_12201": null,
      "customfield_12600": null,
      "labels": [],
      "customfield_11700": "{}",
      "versions": [
         "19406"
      ],
      "issuelinks": [],
      "assignee": null,
      "updated": "2021-01-29T18:19:51.000+0200",
      "status": "5",
      "description": "I can execute 'whitelist add\u00a0 [player tag]' and observe the whitelist.json update with the player tag only.\u00a0 When I turn white-list=false in the server.properties and do an whitelist add, the xuid is also added.\u00a0 With the white-list=true is set, only the player tag is added and the whitelist but that player will be denied access to the world (no xuid).\r\n\r\n\u00a0\r\n\r\nBackground, I set up a server for a very select, controlled group of players, and need to strictly control access.\u00a0 The current work-around I am using is having the new player log into an unrestricted \"lobby\" world so I can collect the player tag and the xuid.\u00a0 I then use that information and manually update the whitelist.json file for the controlled world.\u00a0 Then shut down the lobby until a new player is invited.\u00a0 The other workaround would be turn off the whitelist temporarily, allow the player in, add to the whitelist, then turn whitelist back on.\u00a0 Either workaround works but is cumbersome.\r\n\r\n\u00a0\r\n\r\nMaybe update the whitelist.json when the new player first logs in?\u00a0 Additionally, the console does not output any non-whitelist player attempt to logging into the world (as far as I can tell).",
      "customfield_11100": null,
      "customfield_11300": null,
      "customfield_11500": null,
      "customfield_12503": null,
      "customfield_12700": null,
      "customfield_12502": null,
      "customfield_12504": null,
      "attachment": [],
      "summary": "whitelist add cmd adds incomplete entry to whitelist.json",
      "creator": "JIRAUSER505966",
      "reporter": "JIRAUSER505966",
      "customfield_10002": null,
      "customfield_12501": null,
      "customfield_12500": null,
      "customfield_11601": null,
      "customfield_11600": "0|i1g5g7:",
      "environment": "Windows 10 Edu 2004/1909, AMD 3900 CPU, 32Gb 3600 DDR4, MCBEPlay Front End",
      "customfield_11801": null,
      "customfield_11800": null,
      "customfield_11602": null,
      "customfield_11802": null,
      "comment": {
         "comments": [
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/338471/comment/730456",
               "id": "730456",
               "author": "JIRAUSER505966",
               "body": "Some additional info that I just found.\u00a0 The gamer-tags in question were the older gamer-tags (without the 4 digit numerical suffex).\u00a0 Changed the gamer tag for one of my kids and noted the whitelist updated with the new tag without any manual intervention.\u00a0 Unsure if this issue is only with the older format tag or affects both the new and old formats.",
               "updateAuthor": "JIRAUSER505966",
               "created": "2020-06-14T22:34:47.067+0300",
               "updated": "2020-06-14T22:35:23.480+0300"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/338471/comment/731937",
               "id": "731937",
               "author": "ionicecko",
               "body": "When adding someone to the whitelist via console it only adds them via Gamertag. This is expected, it does no lookup to get an XUID when you add the player.\r\n\r\nHowever when the player first joins the entry will be updated with their XUID.\r\n\r\nThis shouldn't be any different between online mode off and on and I wasn't able to reproduce any difference.\r\n\r\nIf your players are unable to enter once whitelisted its likely you're either not whitelisting them correctly, this can be due to 2 main causes. \r\n# Its case sensitive, something many people miss, IonicEcko is not the same as ionicecko or Ionicecko.\r\n# The new gamertag system appends numbers to the end of the gamertag, these need to be included.\r\n\r\nIf you still believe there to be an issue please provide steps to reproduce the issue from a brand new world and outside of the MCBEPlay utility. While its a great tool, bugs can only be accepted when they can be reliably reproduced in the vanilla server software.",
               "updateAuthor": "ionicecko",
               "created": "2020-06-16T14:47:47.180+0300",
               "updated": "2020-06-16T14:47:47.180+0300"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/338471/comment/907926",
               "id": "907926",
               "author": "mega_spud",
               "body": "Cleaning up old tickets:  This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as _Incomplete_.  If you feel this is still a valid issue then please comment, or create a new ticket following the [Issue Guidelines|https://aka.ms/MCBugTrackerHelp|How To Write helpful bug reports] which includes steps to reproduce the problem.\r\n\r\n*Quick Links*:\r\n\ud83d\udcd3 [Issue Guidelines|https://aka.ms/MCBugTrackerHelp|How To Write Awesome Tickets! \ud83d\udcaf] -- \ud83d\udcac [Mojang Support|https://help.minecraft.net/hc/en-us/requests/new|Account Support \ud83d\udd79] -- \ud83d\udce7 [Suggestions|https://feedback.minecraft.net/|Feedback and Suggestions \u270d\ufe0f] -- \ud83d\udcd6 [Minecraft Wiki|http://minecraft.gamepedia.com/Minecraft_Wiki|Minecraft Wiki \ud83c\udf93]",
               "updateAuthor": "mega_spud",
               "created": "2021-01-29T18:19:51.605+0200",
               "updated": "2021-01-29T18:19:51.605+0200"
            }
         ],
         "maxResults": 3,
         "total": 3,
         "startAt": 0
      },
      "votes": {
         "self": "https://bugs.mojang.com/rest/api/2/issue/BDS-6043/votes",
         "votes": 0,
         "hasVoted": false
      }
   },
   "changelog": {
      "startAt": 0,
      "maxResults": 3,
      "total": 3,
      "histories": [
         {
            "id": "1654921",
            "author": "ionicecko",
            "created": "2020-06-16T14:47:55.130+0300",
            "items": [
               {
                  "field": "resolution",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "10001",
                  "toString": "Awaiting Response"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "1",
                  "fromString": "Open",
                  "to": "5",
                  "toString": "Resolved"
               }
            ]
         },
         {
            "id": "1999111",
            "author": "mega_spud",
            "created": "2021-01-29T18:19:02.971+0200",
            "items": [
               {
                  "field": "resolution",
                  "fieldtype": "jira",
                  "from": "10001",
                  "fromString": "Awaiting Response",
                  "to": null,
                  "toString": null
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "5",
                  "fromString": "Resolved",
                  "to": "4",
                  "toString": "Reopened"
               }
            ]
         },
         {
            "id": "1999237",
            "author": "mega_spud",
            "created": "2021-01-29T18:19:51.606+0200",
            "items": [
               {
                  "field": "resolution",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "4",
                  "toString": "Incomplete"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "4",
                  "fromString": "Reopened",
                  "to": "5",
                  "toString": "Resolved"
               }
            ]
         }
      ]
   }
}