We've noticed a feature where Jira issues can be transitioned automatically on a pull request merge. It seems to be described here.
https://support.atlassian.com/bitbucket-cloud/docs/transition-jira-issues-during-a-pull-request-merge/
There are two things we don't understand. First we don't seem to be able to transition to a state we call "Done" in our workflow. AFAIK, there are no "fields that have to be filled out" to transition to Done, but I don't really know exactly what that means, so I'm confused.
Second, is there a way to configure which potential transitions show up? In our situation, a transition to "Shelved" is the only one enabled, which doesn't make sense in this case.
So we've got a transition to a non-sensical state enabled, and the one we want is disabled. And the page referenced above doesn't clear it up.
Any help would be much appreciated.