I've been searching for answers to this however I have not been able to find anything other than an old plugin (jira-importers-bitbucket) that is not compatible with Jira 7.X.
I am trying to populate a jira custom filed with the names of the projects within BitBucket. I have a purchased license for Jira Server, BitBucket Server, as well as the ScriptRunner add-on for Jira and BitBucket also fully licensed.
A solid script example would be really cool.
Thanks
-CN