I'm trying to get the list of available transitions for an issue by calling
rest/api/3/<issuekey>/transitions
The issue in question has three transitions in its current status. Two of the transitions are to other statuses and one of the transitions loops back to the current status. In the API response I get the two transitions that go to other statuses but not the one that loops back to itself.

There are conditions on the looping transition but the conditions are met as I see the transition in the UI (under the Action menu) and I'm using the same user in the API as the Web UI.
I guess there is something funky about "looping" transitions so is there some other way of finding these through the API?