How to define entry point for a plugin?


I am a licensed user of JIRA.

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

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

1 vote
Accepted answer

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 , but there are more). If you could tell us what you are trying to do, we might be able to help further.


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 votes

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
Community showcase
Published Feb 07, 2019 in Marketplace Apps

A Timeless Love Story

It started as any story starts, on a normal, rainy day.   Admin meets App, and her name was Klok2, and like any first relationship we were both trying to make it work but neither one knew what...

452 views 8 26
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