It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How can I get metadata in jira report plugin?

Pavol Lackovič Mar 31, 2014

Hi

How can I get metadata in my own report plugin? (no groovy, but Java)

Object service  = serviceosgiManager.getServiceTracker("com.osoboo.jira.metadata.MetadataService").getService()

What type is service?

Thanks

1 answer

1 accepted

0 votes
Answer accepted

Hi Pavol,

the Service implements:

com.osoboo.jira.metadata.MetadataService

but you can use (see: https://bitbucket.org/aspall/jira-metadata-addonsample):

	<component-import key="metadataService" name="JIRA Metadata Service"
		interface="com.osoboo.jira.metadata.MetadataService">
		<description></description>
	</component-import>

within your atlassian-plugin.xml

regards

Andreas

Pavol Lackovič Apr 02, 2014

Thanks you Andreas :)

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Marketplace Apps & Integrations

scaling agile at the enterprise level with Valiantys

Hey there Community! My name is Vannya Vallejo, the Channel Communication Specialist at Atlassian and I want to help Atlassian users like you learn about our Solution Partners and how they can help ...

438 views 1 12
Read article

Community Events

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

Events near you