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")
Missing deadlines is one of the biggest problems every team lead wants to avoid when dealing with managed services. When the customer contracts your company to help with IT services it is expected th...
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