If I want to add a class called "Worksession", what would the atlassian-plugin.xml look like? And what other things do I need to think about?
<atlassian-pluginkey="${project.groupId}.${project.artifactId}"name="${project.name}"plugins-version="2">
<plugin-info>
<description>${project.description}</description>
<version>${project.version}</version>
<vendorname="${project.organization.name}"url="${project.organization.url}"/>
</plugin-info>
<component-importkey="eventPublisher"interface="com.atlassian.event.api.EventPublisher"/>
<componentkey="eventListener"class="com.example.tutorial.plugins.WorklogListener">
<description>Class that processes the incoming JIRA worklog events.</description>
</component>
<componentkey="workSession"class="com.example.tutorial.plugins.Worksession">
<description>Class that describes a Worksession-object</description>
</component>
</atlassian-plugin>
What do you mean by a class? If it is a support class which is used in the original listener class, you don't need any entries.
But if you are planning to add another listener class, what you have done is correct.
Thanks for answering!
I just wanted a support class. It worked now!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, I did send you another question, but the above question, is not from me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.