When witch was spawned by the witch hut, command or spawn egg, it will not actively attack the players.
Linked issues
is duplicated by 1
relates to 2
Attachments
Comments 10

@Yellow01 This cannot be intended as Witches are now part of raids in 18w50a. I doesn't make sense to have Pillagers, Beasts, Vindicators, and Evokers (all hostile mobs) be a part of the raids and then have a neutral witch in that group too. Definitely a bug.

So? You'd have to kill the witch in the process of ending the raid anyway, and besides, once MC-139947 is fixed, players would actually have an incentive to do so.
Source for witches being neutral being intended? If there is none, we'll wait for Mojang to say so (on this ticket or elsewhere)

Okay, I admit that I looked at the minecraft wiki (https://minecraft.gamepedia.com/18w50a#Mobs_2), will look into witches being neutral later today.
Nothing about it was noted at all in the article fromminecraft.net, so there's nothing to warrant saying this isn't a bug. Since the wiki is not an official source, anything from there should be taken with a grain of salt.
They has a new NBT tag called "HasRaidGoal", they are hostile in raid and their "HasRaidGoal" is 1, but the normal witches are neutral, even if I change their "HasRaidGoal" to 1. whatever I change their NBT, they are neutral always. It's extremely bad for map making
the description should be changed to the bug in BLack_Tea_RGO's comment
@tryashtar Slicedlime says witches are neutral in this video https://www.youtube.com/watch?v=YjI9JISe0Wg
Time 3:40
And he confirmed it is unintentional in this comment:
https://www.youtube.com/watch?v=YjI9JISe0Wg&lc=UgzdWx9REsLZcJDmQIh4AaABAg.8onKc7qCsPC8onNcrWpObE
As of 18w50a, this is WAI; witches are now neutral mobs.