in a 112–105 loss to the Minnesota Timberwolves. Cleveland Cavaliers (2016–2017) On July 7, 2016, Dunleavy was traded, along with the rights to Vladimir Veremeenko, to the Cleveland Cavaliers in exchange for the rights to Albert Miralles. He made his debut for the Cavaliers in the team's season opener on October 25, 2016 against the New York Knicks. In 22 minutes off the bench, he recorded four points, four rebounds, two assists and three steals in a 117–88 win. On December 23, 2016, he scored a season-high 14 points in a 119–99 win over the Brooklyn Nets. Atlanta Hawks (2017) On January 7, 2017, Dunleavy was traded, along with Mo Williams and a future first-round draft pick, to the Atlanta Hawks in exchange for Kyle Korver. After Dunleavy initially refused to report to the Hawks while seeking a buyout of his contract, he changed his mind and agreed to join the team. On January 10, he reported to the team and passed his physical. Three days later, he made his debut for the Hawks, scoring six points on a pair of three-pointers in a 103–101 loss to the Boston Celtics. On January 15, he scored 20 points off the bench in a 111–98 win over the Milwaukee Bucks. It was his first 20-point performance since a first-round playoff game for Chicago on April 30, 2015. On March 3, 2017, Dunleavy was diagnosed with right ankle synovitis. He returned to action on March 22 against Washington after a 13-game injury layoff. Dunleavy's final NBA game was Game 6 of the 2017 Eastern Conference First Round on April 28th, 2017 in a 99 - 115 loss to the Washington Wizards. In his final game, Dunleavy only played for 71 seconds, substituting towards the end of the first quarter for Tim Hardaway Jr.. He would subsequently sit out the rest of the game, as the Hawks went on to lose the game and the series to Washington 4 - 2. On June 30, 2017, he was waived by the Hawks, and retired shortly afterwards. Executive career On September 24, 2018, Dunleavy was hired by the Golden State Warriors as a pro scout. On August 29, 2019, Dunleavy was promoted to assistant general manager of the Warriors. On September 30, 2021, Dunleavy was promoted to vice president of basketball operations. He won his first NBA championship after the Warriors defeated the Boston Celtics in