You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
Hello,
I need to create a plugin that should make call outs to external endpoints. Where is the best place to write this code? I started writing it in MyPluginComponentImpl.java. Is it ok to write code there?
The idea is to make a POST call to one endpoint for installation and another for POST for enable. Also are there event handlers for these events? I'm doing this for the first time, any help would be appreciated.
Hi Nic, thanks for this answer. In regards to event listeners, take for example the plugin being installed. Is there a "plugin installed" event handler that i could hook into? I can't find anything online that shows this.
There are some events around plugins, but they're not going to do much for you here.
Events are fired when things happen, so to get an event for installation, you have to install the add-on to get the event. Same for enable - the event is fired by the action of enabling it.
If you mean you want to do post calls to install add-ons, no, there are no end points for them.
Is it possible that you can point me to some documentation around these plugins? I might need them. I would really appreciate it.
There's entire guides to how Jira works and writing add-ons on Atlassian's site. I suspect https://developer.atlassian.com/server/framework/atlassian-sdk/ is a good starting point for you at this time.
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events