Warner Bros. Games has confirmed that J.K Rowling is not directly involved with the development of the Harry Potter RPG Hogwarts Legacy, and that the story has not come from her. The information comes via an FAQ that Warner Bros. Games put out to give more information about Hogwarts Legacy, where the setting and gameplay types are confirmed.
In a brief statement, Warner Bros. Games wrote this about J.K Rowling.
J.K. Rowling is not directly involved in the creation of the game, however, her extraordinary body of writing is the foundation of all projects in the Wizarding World. This is not a new story from J.K. Rowling.
Hogwarts Legacy was announced during the PlayStation 5 Showcase, but it is not a PlayStation or next gen exclusive. The game will also be released for PS4, Xbox Series X | S, Xbox One and PC at some point in 2021. You will also not be running into Harry and friends as Hogwarts Legacy is set during the 1800s, but you will have access to similar magic as you will be a student at the wizarding school. Players will not be limited to exploring the halls of Hogwarts though, as other locations in the wizarding world will also be available to explore through the open world.
David Haddad, President, Warner Bros. Games said, “Hogwarts Legacy gives players control over their own experience with RPG gameplay unlike anything else in the Wizarding World, which will continue to build fan appeal in the Portkey Games label. Avalanche has brought to life this rich and deep world, full of action-packed magic, as well as a detailed, mysterious story to engage fans and gamers alike.”
Portkey Games is the development label behind Hogwarts Legacy, and it is being developed by Avalanche Software. This is the Avalanche that worked on Disney Infinity, not the Avalanche that worked on the Just Cause games.
Source: Warner Bros.