I’m working on creating a BitBucket plugin to enforce a naming scheme for branches which I realise is not really how git is meant to work but it’s a requirement from a team at my company. As part of it, I’m writing a class to validate any Jira ID’s that are in the branch names.
To do this I’m trying to use EntityLinks since I know Jira and BitBucket are connected via an ApplicationLink. I’ve tried looking at different questions and examples that use EntityLinks but so far haven’t had any luck returning any data.
Is EntityLinks the right way to do this? Or is there another way of querying Jira data from a BitBucket plugin?
Atlassian SDK 6.3.4