First of all thanks Andreas for such nice plugin.
After some hours of trying I made working using Script Runner for getting a metadata ("mykey") from given project ("RISK")
Just want to share it with you this short snippet to save your time, I hope it helps :)
import com.atlassian.jira.ComponentManager import com.atlassian.plugin.osgi.container.OsgiContainerManager import com.atlassian.jira.project.Project import com.atlassian.jira.component.ComponentAccessor Project project = ComponentAccessor.getProjectManager().getProjectObjByKey("RISK"); OsgiContainerManager osgiManager = ComponentManager.getInstance().getComponentInstanceOfType(OsgiContainerManager.class) String x = osgiManager.getServiceTracker("com.osoboo.jira.metadata.MetadataService").getService().getMetadataValue(project, "mykey")
Hello Community! Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events