A bit of an alternate solution, together with some motivation.
The first step is the same as in the other solutions: upon substituting $y = \frac{\pi}{2} - x$ we also get that $$I = \int_{0}^{\frac{\pi}{2}}\frac{\sin y}{2 - \sin 2y} dy,$$ and so adding $I$ again we also obtain $$2I = \int_0^{\frac{\pi}{2}} \frac{\cos x + \sin x}{2 - \sin 2x} dx.$$ Nothing new here opposed to the other solutions.
Now observe that the function $$f(x) = \frac{\cos x + \sin x}{2 - \sin 2x}$$ is symmetric for $0 \leq x \leq \frac{\pi}{2}$ about $x = \pi/4$. This makes it intuitive to perform the substitution $z = x - \frac{\pi}{4}$. This way we can 'make' $f$ into an even function, which almost always makes integrations easier. Since $dz = dx$ we find $$2I = \int_{-\frac{\pi}{4}}^{\frac{\pi}{4}} \frac{\cos\left(z + \frac{\pi}{4}\right) + \sin \left( z + \frac{\pi}{4} \right)}{2 - \sin 2\left(z + \frac{\pi}{4} \right)} dz.$$ Here, using the sum formulas for sine and cosine one can easily verify that $$\cos\left(z + \frac{\pi}{4} \right) + \sin\left( z + \frac{\pi}{4} \right) =\cos z \cos \frac{\pi}{4} - \sin z \sin \frac{\pi}{4} + \sin z \cos \frac{\pi}{4} + \cos z \sin \frac{\pi}{4} = \sqrt{2} \cos z$$ and $\sin 2\left(z + \frac{\pi}{4} \right) = \cos 2z = 1 - 2\sin^2 z.$
In conclusion: $$2 I = \sqrt{2} \int_{-\frac{\pi}{4}}^{\frac{\pi}{4}} \frac{\cos z}{1 + 2 \sin^2 z} dz.$$ Now it becomes obvious that a $u = \sin z$ substitution will lead us to an answer (with some help of the $\int \frac{1}{1 + x^2} dx = \arctan x + c$ standard integral).