We are currently in the process of migrating from an old issue tracker we have to Jira (server).
One of the requirements we have from the QA team is that they want to allow a certain transition to only happen when all code of an issue is merged in a certain branch.
We also use ScriptRunner, so we can create a scripted condition to check that. The problem is that we cannot find in the documentation anything that can help us in that process.
Has anyone any luck accessing associated branches/MRs to an issue using groovy? If yes, could you please point to a doc with the classes that can be used to do that?