Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Jira cloud java add-on trigger function on installation

a g
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 8, 2017

Hi,

I have created a java plugin, it is running using mvn spring-boot in a ngork https tunnel so it could be installed on my JIRA cloud instance. 

I can see it getting installed but now I want to trigger a specific function when the installation is triggered, do you have some input on this?

(I already tried the afterPropertiesSet() and some other bean but it does not do the trick).

Thanks,

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
Einar Pehrson
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 15, 2017

Hi Arnaud,

as described in the section Reacting to add-on lifecycle events of the README and the section Add-on Lifecycle of the Javadoc, an AddonInstalledEvent  is fired asynchronously upon add-on installation. See the Javadoc for that class for an example.

TAGS
AUG Leaders

Atlassian Community Events