How to define entry point for a plugin?

Hi,

I am a licensed user of JIRA.

I have followed the steps provided in the below link to setup JIRA plugin development environment.

https://developer.atlassian.com/display/DOCS/Set+up+the+Atlassian+Plugin+SDK+and+Build+a+Project

However, I am not able to understand how and where (in which file) do we define the entry point function of a plugin.

Any help would be highly appreciated.

2 answers

1 accepted

Hi Deepak,

You can have multiple entry points in your plugin, depending on what you are trying to accomplish.

The Bundle Activator (as per OSGi spec) is called when your plugin starts up. Other than that, you may hook your plugin in one of the many places JIRA allows you to. (for example, see https://developer.atlassian.com/display/JIRADEV/Web+Fragments , but there are more). If you could tell us what you are trying to do, we might be able to help further.

HTH

Now i am creating a new JIRA Plugin,but having problem while defining the entry point. i don't understand where to start my code.Kindly help me by quick reply..

If you're using the Atlassian SDK and ran atlas-create-jira-plugin, then you're ready to go. That's the structure.

Next you'll have to look into how would the user interact with it and that'll be the entry-point. See the link I gave you.

0 vote

You should know that the heart of a plugin is the Atlassian plugin descriptor and it defines a set of plugin modules.

Each module type has its own entry point.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Tuesday in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

125 views 0 4
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