{
   "expand": "operations,versionedRepresentations,editmeta,changelog,renderedFields",
   "id": "439751",
   "self": "https://bugs.mojang.com/rest/api/2/issue/439751",
   "key": "BDS-13319",
   "fields": {
      "issuetype": "1",
      "project": "11700",
      "fixVersions": [],
      "resolution": "6",
      "customfield_10500": {
         "self": "https://bugs.mojang.com/rest/api/2/customFieldOption/10303",
         "value": "Confirmed",
         "id": "10303",
         "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": "2024-01-04T19:41:45.000+0200",
      "customfield_12607": null,
      "customfield_12609": null,
      "workratio": -1,
      "lastViewed": null,
      "watches": {
         "self": "https://bugs.mojang.com/rest/api/2/issue/BDS-13319/watchers",
         "watchCount": 2,
         "isWatching": false
      },
      "created": "2021-05-25T23:05:19.000+0300",
      "customfield_12000": null,
      "customfield_12201": null,
      "customfield_12600": null,
      "labels": [],
      "customfield_11700": "{}",
      "versions": [
         "19915",
         "20204"
      ],
      "issuelinks": [
         {
            "id": "292671",
            "self": "https://bugs.mojang.com/rest/api/2/issueLink/292671",
            "type": "10102",
            "inwardIssue": "225654"
         },
         {
            "id": "246834",
            "self": "https://bugs.mojang.com/rest/api/2/issueLink/246834",
            "type": "10102",
            "inwardIssue": "452697"
         }
      ],
      "assignee": null,
      "updated": "2024-01-04T19:50:53.000+0200",
      "status": "5",
      "description": "Unlike Java Edition, BDS relies on all the files in the ZIP or it fails to boot.\r\n\r\nIt makes sense for the behavior packs and the etc, but the critical files are server.properties, permisisons.json, and whitelist.json. The latter of the 2 can (and should) be generated fairly easily if they are missing (as they are simply empty arrays). As for the server.properties, I'm not sure.\r\n\r\nIncluding these in the ZIP make it harder for updating, as often the ZIP overwrites these files, resetting them. I've seen people have issues thinking their world is gone, but all they did was rename the world and update their server. We also can't not include them in the ZIP, the program crashes otherwise.",
      "customfield_11100": 1.0,
      "customfield_11300": null,
      "customfield_11500": "602208",
      "customfield_12503": null,
      "customfield_12700": null,
      "customfield_12502": null,
      "customfield_12504": null,
      "attachment": [],
      "summary": "Critical files don't generate if missing",
      "creator": "chewsterchew",
      "reporter": "chewsterchew",
      "customfield_10002": null,
      "customfield_12501": null,
      "customfield_12500": null,
      "customfield_11601": null,
      "customfield_11600": "0|i1xh5b:",
      "environment": null,
      "customfield_11801": null,
      "customfield_11800": null,
      "customfield_11602": null,
      "customfield_11802": null,
      "comment": {
         "comments": [
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/439751/comment/1027197",
               "id": "1027197",
               "author": "JIRAUSER484247",
               "body": "Is this still an issue in the latest version? If so, can you please add it to the affected versions (or mention it if you are not the reporter).\r\nThis ticket will automatically reopen when you reply.",
               "updateAuthor": "JIRAUSER484247",
               "created": "2021-06-30T19:30:03.883+0300",
               "updated": "2021-06-30T19:30:03.883+0300"
            }
         ],
         "maxResults": 1,
         "total": 1,
         "startAt": 0
      },
      "votes": {
         "self": "https://bugs.mojang.com/rest/api/2/issue/BDS-13319/votes",
         "votes": 3,
         "hasVoted": false
      }
   },
   "changelog": {
      "startAt": 0,
      "maxResults": 10,
      "total": 10,
      "histories": [
         {
            "id": "2188816",
            "author": "arisabot",
            "created": "2021-05-25T23:05:24.157+0300",
            "items": [
               {
                  "field": "Linked",
                  "fieldtype": "custom",
                  "from": null,
                  "fromString": null,
                  "to": null,
                  "toString": "0"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "1",
                  "fromString": "Open",
                  "to": "1",
                  "toString": "Open"
               }
            ]
         },
         {
            "id": "2258565",
            "author": "JIRAUSER484247",
            "created": "2021-06-30T19:30:03.887+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": "2271099",
            "author": "chewsterchew",
            "created": "2021-07-07T23:54:34.975+0300",
            "items": [
               {
                  "field": "Version",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "20204",
                  "toString": "1.17.2"
               }
            ]
         },
         {
            "id": "2271100",
            "author": "arisabot",
            "created": "2021-07-07T23:54:39.508+0300",
            "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": "2271102",
            "author": "chewsterchew",
            "created": "2021-07-07T23:55:19.373+0300",
            "items": [
               {
                  "field": "description",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": "While whitelist.json, permissions.json, and server.properties are included in the ZIP, they aren't generated as they do in Java if they are missing. Is there any chance these can be generated if they are missing?",
                  "to": null,
                  "toString": "Unlike Java Edition, BDS relies on all the files in the ZIP or it fails to boot.\r\n\r\nIt makes sense for the behavior packs and the etc, but the critical files are server.properties, permisisons.json, and whitelist.json. The latter of the 2 can (and should) be generated fairly easily if they are missing (as they are simply empty arrays). As for the server.properties, I'm not sure.\r\n\r\nIncluding these in the ZIP make it harder for updating, as often the ZIP overwrites these files, resetting them. I've seen people have issues thinking their world is gone, but all they did was rename the world and update their server. We also can't not include them in the ZIP, the program crashes otherwise."
               }
            ]
         },
         {
            "id": "2323327",
            "author": "JIRAUSER484247",
            "created": "2021-08-12T18:38:22.691+0300",
            "items": [
               {
                  "field": "Link",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "BDS-14140",
                  "toString": "This issue is duplicated by BDS-14140"
               }
            ]
         },
         {
            "id": "2324452",
            "author": "arisabot",
            "created": "2021-08-13T18:38:31.409+0300",
            "items": [
               {
                  "field": "Linked",
                  "fieldtype": "custom",
                  "from": null,
                  "fromString": "0",
                  "to": null,
                  "toString": "1"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "4",
                  "fromString": "Reopened",
                  "to": "4",
                  "toString": "Reopened"
               }
            ]
         },
         {
            "id": "2346033",
            "author": "JIRAUSER648376",
            "created": "2021-08-31T18:06:46.746+0300",
            "items": [
               {
                  "field": "ADO",
                  "fieldtype": "custom",
                  "from": null,
                  "fromString": null,
                  "to": null,
                  "toString": "602208"
               },
               {
                  "field": "Confirmation Status",
                  "fieldtype": "custom",
                  "from": "10300",
                  "fromString": "Unconfirmed",
                  "to": "10303",
                  "toString": "Confirmed"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "4",
                  "fromString": "Reopened",
                  "to": "4",
                  "toString": "Reopened"
               }
            ]
         },
         {
            "id": "2919581",
            "author": "greymagic27",
            "created": "2024-01-04T19:41:45.175+0200",
            "items": [
               {
                  "field": "resolution",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "6",
                  "toString": "Works As Intended"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "4",
                  "fromString": "Reopened",
                  "to": "5",
                  "toString": "Resolved"
               }
            ]
         },
         {
            "id": "2919600",
            "author": "greymagic27",
            "created": "2024-01-04T19:50:53.299+0200",
            "items": [
               {
                  "field": "Link",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "BDS-436",
                  "toString": "This issue is duplicated by BDS-436"
               }
            ]
         }
      ]
   }
}