sorry - but no. My plugin exports the MetadataService as component for other plugins (within JIRA) but not via ReST. You have to create a Plugin which takes my Service via component-import, make it available via ReST and install it on your JIRA server.
The component-import for your atlassian-plugin.xml
<component-import key="metadataService" name="JIRA Metadata Service" interface="com.osoboo.jira.metadata.MetadataService"> <description>to access the jira metadata service.</description> </component-import>
For more details about ReST Plugins see: https://developer.atlassian.com/display/DOCS/Incomplete+Plugin+Tutorial+-+Writing+REST+Services
Thanks, Andreas. I mostly need to present tables of the metadata now associated with each JIRA project and version. I found where the metadata is stored in the JIRA database, so I think I can probably just use SQL queries to present the results I need.
the good old sql integration ;). the Table should be AO_XXXXXX_Jira_METADATA:
the stored ENRICHED_OBJECT_KEY string will be gernerated by the following pattern:
[com.atlassian.jira.project.Project or com.atlassian.jira.project.version.Version]:[THE_OBJECT_IDENTIFIER]
e.g for a project called SampleProject (Key: SP ) the identifier will be com.atlassian.jira.project.Project:SP
CREATE TABLE AO_CC6AEB_JIRA_METADATA(
ID INTEGER GENERATED BY DEFAULT AS IDENTITY(START WITH 1) NOT NULL PRIMARY KEY,
The id of my table is the generated primary key.
INSERT INTO AO_CC6AEB_JIRA_METADATA VALUES(
i'll hope this will help you
Get ready! Demo Den Episode 4 is coming your way on Tuesday, May 28, 2018 with a Continuous Integration and Delivery special demo. CircleCI Director of Solutions Engineering, Eddie Webb will show us ...
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