 However, his return was short–lived when Tansey suffered a hernia/groin problem and was sidelined for a month after undergoing an operation.Tansey returned to the first team a month later on 28 April 2018, starting a match before being substituted in the 75th minutes, in a 2–0 loss against Hamilton Academical.However, he suffered a groin injury once again and was sidelined for the rest of the season.