Several weeks ago I updated my plugin for no-native description field for repositories (old Bitbucket Server versions don’t have native description field) to migrate on native field.
I have problem with repository searching, because in old version plugin I used Active Objects to find repository by description… On new one, I can’t find native solution to do that.
I found three solution:
- Use native searching (if exist)
- Get all repositories and use foreach
- Use database query (but I don’t know how to deal with database query in native tables ex. dbo.repositories by using Java)
Can anyone help me?