{
   "expand": "operations,versionedRepresentations,editmeta,changelog,renderedFields",
   "id": "542605",
   "self": "https://bugs.mojang.com/rest/api/2/issue/542605",
   "key": "BDS-18721",
   "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": "2024-03-21T15:25:07.000+0200",
      "customfield_12607": null,
      "customfield_12609": null,
      "workratio": -1,
      "lastViewed": null,
      "watches": {
         "self": "https://bugs.mojang.com/rest/api/2/issue/BDS-18721/watchers",
         "watchCount": 0,
         "isWatching": false
      },
      "created": "2023-09-18T02:13:36.000+0300",
      "customfield_12000": null,
      "customfield_12201": null,
      "customfield_12600": null,
      "labels": [],
      "customfield_11700": "{}",
      "versions": [
         "21608"
      ],
      "issuelinks": [],
      "assignee": null,
      "updated": "2024-03-21T15:25:07.000+0200",
      "status": "5",
      "description": "In my multiplayer world, we had a zombie villager that we made a fletcher at level Journeyman. We broke his workbench because the bed we wanted him to sleep in wasn't matching up with where we placed him (in our villager trading hall). He then proceeds to switch to a fisherman from a barrel we had and is now locked in to this profession.\r\n\r\n\u00a0\r\n\r\n*Steps to Recreate:*\r\n # Cure a zombie villager\r\n # Place down a fletching table\r\n # Trade with villager/level up villager\r\n # Break workstation\r\n\r\n\u00a0\r\n\r\n*What's Expected:*\r\n * Villager remains at same profession with same level and trades\r\n\r\n\u00a0\r\n\r\n*What Actually Occurs:*\r\n * Villager becomes jobless, then locks in profession with a nearby barrel, becoming a fisherman\r\n * Breaking this barrel doesn't make him jobless again. He is stuck as a fisherman at the level he had as a fletcher",
      "customfield_11100": 0.0,
      "customfield_11300": null,
      "customfield_11500": null,
      "customfield_12503": null,
      "customfield_12700": "[Briefly describe the bug here]\r\n\r\n*Steps to Reproduce:*\r\n# [Step 1]\r\n# [Step 2]\r\n# [Step 3]\r\n\r\n*Observed Results:*\r\n[Describe what happens]\r\n\r\n*Expected Results:*\r\n[Describe what should happen]\r\n\r\n*Screenshots/Videos attached:* [please attach an image or short video]\r\n\r\n*Notes:*",
      "customfield_12502": null,
      "customfield_12504": null,
      "attachment": [],
      "summary": "Villager changes profession after being traded with/leveled up",
      "creator": "JIRAUSER534877",
      "reporter": "JIRAUSER534877",
      "customfield_10002": null,
      "customfield_12501": null,
      "customfield_12500": null,
      "customfield_11601": null,
      "customfield_11600": "0|i2eyzr:",
      "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/542605/comment/1280111",
               "id": "1280111",
               "author": "JIRAUSER534877",
               "body": "This is supposed to be in MCPE but I can't change the type, so sorry about that.",
               "updateAuthor": "JIRAUSER534877",
               "created": "2023-09-18T02:22:21.303+0300",
               "updated": "2023-09-18T02:22:21.303+0300"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/542605/comment/1280143",
               "id": "1280143",
               "author": "JIRAUSER648376",
               "body": "Hi\r\n\r\nWhat platform are you using?\r\n\r\nThis ticket will automatically reopen when you replyt.",
               "updateAuthor": "JIRAUSER648376",
               "created": "2023-09-18T11:54:45.717+0300",
               "updated": "2023-09-18T11:54:45.717+0300"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/542605/comment/1311170",
               "id": "1311170",
               "author": "JIRAUSER484247",
               "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://help.minecraft.net/hc/en-us/articles/4408887473421] which includes steps to reproduce the problem.\r\n\r\n{*}Quick Links{*}:\r\n\ud83d\udcd3 [Issue Guidelines|https://aka.ms/MCBugTrackerHelp] \u2013 \ud83d\udcac [Mojang Support|https://help.minecraft.net/hc/en-us/requests/new] \u2013 \ud83d\udce7 [Suggestions|https://feedback.minecraft.net/] \u2013 \ud83d\udcd6 [Minecraft Wiki|http://minecraft.gamepedia.com/Minecraft_Wiki]",
               "updateAuthor": "JIRAUSER484247",
               "created": "2024-03-21T15:25:07.436+0200",
               "updated": "2024-03-21T15:25:07.436+0200"
            }
         ],
         "maxResults": 3,
         "total": 3,
         "startAt": 0
      },
      "votes": {
         "self": "https://bugs.mojang.com/rest/api/2/issue/BDS-18721/votes",
         "votes": 0,
         "hasVoted": false
      }
   },
   "changelog": {
      "startAt": 0,
      "maxResults": 3,
      "total": 3,
      "histories": [
         {
            "id": "2868109",
            "author": "JIRAUSER648376",
            "created": "2023-09-18T11:54:45.721+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": "2958332",
            "author": "JIRAUSER484247",
            "created": "2024-03-21T15:25:03.290+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": "2958333",
            "author": "JIRAUSER484247",
            "created": "2024-03-21T15:25:07.444+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"
               }
            ]
         }
      ]
   }
}