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?

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

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

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 Apr 03, 2019 in Marketplace Apps

How to estimate projects more accurately?

Gaining insight into your team’s effectiveness and choosing the right estimation technique.   Estimating projects is hard. It is because people have the tendency to underestimate the time thin...

288 views 2 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you